Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aa3f396

Browse files
committed
Remove completed TODO items:
< * -Make postmater and postgres options distinct so the postmaster -o < option is no longer needed < * -Allow pooled connections to list all prepared statements < < This would allow an application inheriting a pooled connection to know < the statements prepared in the current session. < < * -Re-enable the GUC full_page_writes in 8.2 when reliability issues have < been addressed < o -Add "include file" functionality in postgresql.conf < o -Allow per-database permissions to be set via GRANT < < Allow database connection checks based on GRANT rules in < addition to the existing access checks in pg_hba.conf. < < o -Issue a warning if a change-on-restart-only postgresql.conf value > o Issue a warning if a change-on-restart-only postgresql.conf value < o -Automatically force archiving of partially-filled WAL files when < pg_stop_backup() is called or the server is stopped < o -Add reporting of the current WAL file and offset, perhaps as < part of partial log file archiving < * -Allow server logs to be remotely read and removed using SQL commands < * -Allow protocol-level BIND parameter values to be logged < * -Zero umasked bits in conversion from INET cast to CIDR < * -Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr < * -Allow INET + INT8 to increment the host part of the address or < throw an error on overflow < * -Add 'tid != tid ' operator for use in corruption recovery < o -Allow customization of the known set of TZ names (generalize the < present australian_timezones hack) < o -Allow timezone names in SQL strings, '2006-05-24 21:11 < Americas/New_York'::timestamptz < o -Add support for day-time syntax, INTERVAL '1 2:03:04' DAY TO < SECOND < o -Allow NULLs in arrays < * -Add transaction_timestamp(), statement_timestamp(), clock_timestamp() < functionality < < Current CURRENT_TIMESTAMP returns the start time of the current < transaction, and gettimeofday() returns the wallclock time. This will < make time reporting more consistent and will allow reporting of < the statement start time. < < * -Allow to_char() to print localized month names < * -Add sleep() function, remove from regress.c < * -Allow user-defined functions retuning a domain value to enforce domain < constraints < * -Allow TRUNCATE ... CASCADE/RESTRICT < < This is like DELETE CASCADE, but truncates. < < * -Add COMMENT ON for all cluster global objects (roles, databases < and tablespaces) < * -Make row-wise comparisons work per SQL spec < < Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but < the SQL standard requires it to be processed as a column-by-column < comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'. < < * -Enable escape_string_warning and standard_conforming_strings > * Enable standard_conforming_strings < o -Add ON COMMIT capability to CREATE TABLE AS ... SELECT < o -Allow an alias to be provided for the target table in < UPDATE/DELETE (Neil) < o -Allow UPDATE tab SET ROW (col, ...) = (val, ...) for updating < multiple columns < o -Add ALTER TABLE tab INHERIT / NO INHERIT parent < o -Have COPY return the number of rows loaded/unloaded? < o -Allow COPY (SELECT ...) TO 'filename' < < o -Allow pooled connections to list all open WITH HOLD cursors < < Because WITH HOLD cursors exist outside transactions, this allows < them to be listed so they can be closed. < < o -Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..) < o -Allow INSERT/UPDATE ... RETURNING new.col or old.col < o -Allow PL/python to return composite types and result sets < < * -Have initdb set the input DateStyle (MDY or DMY) based on locale < o -Improve psql's handling of multi-line statements < < Currently, while \e saves a single statement as one entry, interactive < statements are saved one line at a time. Ideally all statements < would be saved like \e does. < < o -Allow multi-line column values to align in the proper columns < < If the second output column value is 'a\nb', the 'b' should appear < in the second display column, rather than the first column as it < does now. < < o -Display IN, INOUT, and OUT parameters in \df < o -Allow pg_dump to use multiple -t and -n switches, exclusion < ability, and regular expression object matching < o -Update pg_dump and psql to use the new COPY libpq API (Christopher) < o -Add a function to support Parse/DescribeStatement capability < * -Add fillfactor to control reserved free space during index creation < * -Add system view to show free space map contents < * -Allow installing to directories containing spaces < < This is possible if proper quoting is added to the makefiles for the < install targets. Because PostgreSQL supports relocatable installs, it < is already possible to install into a directory that doesn't contain < spaces and then copy the install to a directory with spaces. < < * -%Clean up compiler warnings (especially with gcc version 4) < * -Remove BeOS and QNX-specific code < o -Port contrib/xml2
1 parent f7ea4ee commit aa3f396

File tree

2 files changed

+14
-213
lines changed

2 files changed

+14
-213
lines changed

doc/TODO

Lines changed: 3 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (bruce@momjian.us)
5-
Last updated: Mon Sep 18 12:23:58 EDT 2006
5+
Last updated: Tue Sep 19 15:19:50 EDT 2006
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -20,13 +20,6 @@ first.
2020
Administration
2121
==============
2222

23-
* -Make postmater and postgres options distinct so the postmaster -o
24-
option is no longer needed
25-
* -Allow pooled connections to list all prepared statements
26-
27-
This would allow an application inheriting a pooled connection to know
28-
the statements prepared in the current session.
29-
3023
* Allow major upgrades without dump/reload, perhaps using pg_upgrade
3124
[pg_upgrade]
3225
* Check for unreferenced table files created by transactions that were
@@ -62,8 +55,6 @@ Administration
6255
Another idea is to allow separate configuration files for each module,
6356
or allow arbitrary SET commands to be passed to them.
6457

65-
* -Re-enable the GUC full_page_writes in 8.2 when reliability issues have
66-
been addressed
6758
* Simplify ability to create partitioned tables
6859

6960
This would allow creation of partitioned tables without requiring
@@ -87,19 +78,13 @@ Administration
8778

8879
* Configuration files
8980

90-
o -Add "include file" functionality in postgresql.conf
9181
o Allow commenting of variables in postgresql.conf to restore them
9282
to defaults
9383

9484
Currently, if a variable is commented out, it keeps the
9585
previous uncommented value until a server restarted.
9686
http://archives.postgresql.org/pgsql-hackers/2006-09/msg01481.php
9787

98-
o -Allow per-database permissions to be set via GRANT
99-
100-
Allow database connection checks based on GRANT rules in
101-
addition to the existing access checks in pg_hba.conf.
102-
10388
o Allow pg_hba.conf to specify host names along with IP addresses
10489

10590
Host name lookup could occur when the postmaster reads the
@@ -112,7 +97,7 @@ Administration
11297
o %Allow postgresql.conf file values to be changed via an SQL
11398
API, perhaps using SET GLOBAL
11499
o Allow the server to be stopped/restarted via an SQL API
115-
o -Issue a warning if a change-on-restart-only postgresql.conf value
100+
o Issue a warning if a change-on-restart-only postgresql.conf value
116101
is modified and the server config files are reloaded
117102
o Mark change-on-restart-only values in postgresql.conf
118103

@@ -160,10 +145,6 @@ Administration
160145
most recent transactions aren't available for recovery in case
161146
of a disk failure.
162147

163-
o -Automatically force archiving of partially-filled WAL files when
164-
pg_stop_backup() is called or the server is stopped
165-
o -Add reporting of the current WAL file and offset, perhaps as
166-
part of partial log file archiving
167148
o %Create dump tool for write-ahead logs for use in determining
168149
transaction id for point-in-time recovery
169150
o Allow a warm standby system to also allow read-only statements
@@ -183,8 +164,6 @@ Monitoring
183164
a database for analysis.
184165

185166
* %Add ability to monitor the use of temporary sort files
186-
* -Allow server logs to be remotely read and removed using SQL commands
187-
* -Allow protocol-level BIND parameter values to be logged
188167

189168

190169
Data Types
@@ -209,11 +188,6 @@ Data Types
209188
inaccurate, in one sense.
210189

211190
* Fix data types where equality comparison isn't intuitive, e.g. box
212-
* -Zero umasked bits in conversion from INET cast to CIDR
213-
* -Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr
214-
* -Allow INET + INT8 to increment the host part of the address or
215-
throw an error on overflow
216-
* -Add 'tid != tid ' operator for use in corruption recovery
217191
* Allow user-defined types to specify a type modifier at table creation
218192
time
219193
* Allow user-defined types to accept 'typmod' parameters
@@ -251,16 +225,12 @@ Data Types
251225
o Allow infinite dates and intervals just like infinite timestamps
252226
o Merge hardwired timezone names with the TZ database; allow either
253227
kind everywhere a TZ name is currently taken
254-
o -Allow customization of the known set of TZ names (generalize the
255-
present australian_timezones hack)
256228
o Allow TIMESTAMP WITH TIME ZONE to store the original timezone
257229
information, either zone name or offset from UTC [timezone]
258230

259231
If the TIMESTAMP value is stored with a time zone name, interval
260232
computations should adjust based on the time zone rules.
261233

262-
o -Allow timezone names in SQL strings, '2006-05-24 21:11
263-
Americas/New_York'::timestamptz
264234
o Fix SELECT '0.01 years'::interval, '0.01 months'::interval
265235
o Add a GUC variable to allow output of interval values in ISO8601
266236
format
@@ -280,8 +250,6 @@ Data Types
280250
http://archives.postgresql.org/pgsql-hackers/2006-01/msg00250.php
281251
http://archives.postgresql.org/pgsql-bugs/2006-04/msg00248.php
282252

283-
o -Add support for day-time syntax, INTERVAL '1 2:03:04' DAY TO
284-
SECOND
285253
o Support ISO INTERVAL syntax if units cannot be determined from
286254
the string, and are supplied after the string
287255

@@ -314,7 +282,6 @@ Data Types
314282

315283
* Arrays
316284

317-
o -Allow NULLs in arrays
318285
o Delay resolution of array expression's data type so assignment
319286
coercion can be performed on empty array expressions
320287
o Add support for arrays of domains
@@ -342,20 +309,11 @@ Functions
342309
=========
343310

344311
* Allow INET subnet tests using non-constants to be indexed
345-
* -Add transaction_timestamp(), statement_timestamp(), clock_timestamp()
346-
functionality
347-
348-
Current CURRENT_TIMESTAMP returns the start time of the current
349-
transaction, and gettimeofday() returns the wallclock time. This will
350-
make time reporting more consistent and will allow reporting of
351-
the statement start time.
352-
353312
* %Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
354313
pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
355314

356315
These would be for application use, not for use by pg_dump.
357316

358-
* -Allow to_char() to print localized month names
359317
* Allow to_date() and to_timestamp() accept localized month names
360318
* Add missing parameter handling in to_char()
361319

@@ -376,9 +334,6 @@ Functions
376334
o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
377335
o to_char(INTERVAL '3 years 5 months','MM') => 41
378336

379-
* -Add sleep() function, remove from regress.c
380-
* -Allow user-defined functions retuning a domain value to enforce domain
381-
constraints
382337
* Add SPI_gettypmod() to return the typemod for a TupleDesc
383338
* Allow inlining of set-returning functions
384339

@@ -448,10 +403,6 @@ SQL Commands
448403
* Add CORRESPONDING BY to UNION/INTERSECT/EXCEPT
449404
* Add ROLLUP, CUBE, GROUPING SETS options to GROUP BY
450405
* %Allow SET CONSTRAINTS to be qualified by schema/table name
451-
* -Allow TRUNCATE ... CASCADE/RESTRICT
452-
453-
This is like DELETE CASCADE, but truncates.
454-
455406
* %Add a separate TRUNCATE permission
456407

457408
Currently only the owner can TRUNCATE a table because triggers are not
@@ -497,14 +448,6 @@ SQL Commands
497448

498449
* Add NOVICE output level for helpful messages like automatic sequence/index
499450
creation
500-
* -Add COMMENT ON for all cluster global objects (roles, databases
501-
and tablespaces)
502-
* -Make row-wise comparisons work per SQL spec
503-
504-
Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but
505-
the SQL standard requires it to be processed as a column-by-column
506-
comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'.
507-
508451
* Add RESET CONNECTION command to reset all session state
509452

510453
This would include resetting of all variables (RESET ALL), dropping of
@@ -521,7 +464,7 @@ SQL Commands
521464
* Allow EXPLAIN to identify tables that were skipped because of
522465
constraint_exclusion
523466
* Allow EXPLAIN output to be more easily processed by scripts
524-
* -Enable escape_string_warning and standard_conforming_strings
467+
* Enable standard_conforming_strings
525468
* Make standard_conforming_strings the default in 8.3?
526469

527470
When this is done, backslash-quote should be prohibited in non-E''
@@ -556,14 +499,9 @@ SQL Commands
556499
expressions like SELECT col1 || col2
557500
o Use more reliable method for CREATE DATABASE to get a consistent
558501
copy of db?
559-
o -Add ON COMMIT capability to CREATE TABLE AS ... SELECT
560502

561503

562504
* UPDATE
563-
o -Allow an alias to be provided for the target table in
564-
UPDATE/DELETE (Neil)
565-
o -Allow UPDATE tab SET ROW (col, ...) = (val, ...) for updating
566-
multiple columns
567505
o Allow UPDATE tab SET ROW (col, ...) = (SELECT...)
568506

569507
http://archives.postgresql.org/pgsql-hackers/2006-07/msg01306.php
@@ -591,7 +529,6 @@ SQL Commands
591529
is used
592530
o %Prevent child tables from altering or dropping constraints
593531
like CHECK that were inherited from the parent table
594-
o -Add ALTER TABLE tab INHERIT / NO INHERIT parent
595532
o Have ALTER INDEX update the name of a constraint using that index
596533
o Add ALTER TABLE RENAME CONSTRAINT, update index name also
597534

@@ -622,7 +559,6 @@ SQL Commands
622559
This requires the use of a savepoint before each COPY line is
623560
processed, with ROLLBACK on COPY failure.
624561

625-
o -Have COPY return the number of rows loaded/unloaded?
626562
o Allow COPY on a newly-created table to skip WAL logging
627563

628564
On crash recovery, the table involved in the COPY would
@@ -631,8 +567,6 @@ SQL Commands
631567
the table at the same time, which is something that is
632568
currently allowed.
633569

634-
o -Allow COPY (SELECT ...) TO 'filename'
635-
636570

637571
* GRANT/REVOKE
638572

@@ -662,17 +596,10 @@ SQL Commands
662596
o Prevent DROP TABLE from dropping a row referenced by its own open
663597
cursor?
664598

665-
o -Allow pooled connections to list all open WITH HOLD cursors
666-
667-
Because WITH HOLD cursors exist outside transactions, this allows
668-
them to be listed so they can be closed.
669-
670599

671600
* INSERT
672601

673602
o Allow INSERT/UPDATE of the system-generated oid value for a row
674-
o -Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
675-
o -Allow INSERT/UPDATE ... RETURNING new.col or old.col
676603
o In rules, allow VALUES() to contain a mixture of 'old' and 'new'
677604
references
678605

@@ -763,13 +690,10 @@ SQL Commands
763690

764691
http://archives.postgresql.org/pgsql-patches/2006-02/msg00288.php
765692

766-
o -Allow PL/python to return composite types and result sets
767-
768693

769694
Clients
770695
=======
771696

772-
* -Have initdb set the input DateStyle (MDY or DMY) based on locale
773697
* Have pg_ctl look at PGHOST in case it is a socket directory?
774698
* Allow pg_ctl to work properly with configuration files located outside
775699
the PGDATA directory
@@ -797,19 +721,6 @@ Clients
797721
o Allow psql \pset boolean variables to set to fixed values, rather
798722
than toggle
799723
o Consistently display privilege information for all objects in psql
800-
o -Improve psql's handling of multi-line statements
801-
802-
Currently, while \e saves a single statement as one entry, interactive
803-
statements are saved one line at a time. Ideally all statements
804-
would be saved like \e does.
805-
806-
o -Allow multi-line column values to align in the proper columns
807-
808-
If the second output column value is 'a\nb', the 'b' should appear
809-
in the second display column, rather than the first column as it
810-
does now.
811-
812-
o -Display IN, INOUT, and OUT parameters in \df
813724
o Add auto-expanded mode so expanded output is used if the row
814725
length is wider than the screen width.
815726

@@ -827,13 +738,10 @@ Clients
827738

828739
* pg_dump
829740

830-
o -Allow pg_dump to use multiple -t and -n switches, exclusion
831-
ability, and regular expression object matching
832741
o %Add dumping of comments on index columns and composite type columns
833742
o %Add full object name to the tag field. eg. for operators we need
834743
'=(integer, integer)', instead of just '='.
835744
o Add pg_dumpall custom format dumps?
836-
o -Update pg_dump and psql to use the new COPY libpq API (Christopher)
837745
o Remove unnecessary function pointer abstractions in pg_dump source
838746
code
839747
o Allow selection of individual object(s) of all types, not just
@@ -869,7 +777,6 @@ Clients
869777

870778
* libpq
871779

872-
o -Add a function to support Parse/DescribeStatement capability
873780
o Add PQescapeIdentifierConn()
874781
o Prevent PQfnumber() from lowercasing unquoted the column name
875782

@@ -1001,7 +908,6 @@ Indexes
1001908

1002909
* Allow accurate statistics to be collected on indexes with more than
1003910
one column or expression indexes, perhaps using per-index statistics
1004-
* -Add fillfactor to control reserved free space during index creation
1005911
* Allow the creation of indexes with mixed ascending/descending
1006912
specifiers
1007913

@@ -1151,7 +1057,6 @@ Vacuum
11511057
index entry) might be slow and unreliable, especially for user-defined
11521058
index functions.
11531059

1154-
* -Add system view to show free space map contents
11551060
* Allow FSM to return free space toward the beginning of the heap file,
11561061
in hopes that empty pages at the end can be truncated by VACUUM
11571062
* Allow FSM page return free space based on table clustering, to assist
@@ -1402,19 +1307,10 @@ Source Code
14021307
This is probably not possible because 'gmake' and other compiler tools
14031308
do not fully support quoting of paths with spaces.
14041309

1405-
* -Allow installing to directories containing spaces
1406-
1407-
This is possible if proper quoting is added to the makefiles for the
1408-
install targets. Because PostgreSQL supports relocatable installs, it
1409-
is already possible to install into a directory that doesn't contain
1410-
spaces and then copy the install to a directory with spaces.
1411-
14121310
* Fix sgmltools so PDFs can be generated with bookmarks
1413-
* -%Clean up compiler warnings (especially with gcc version 4)
14141311
* Use UTF8 encoding for NLS messages so all server encodings can
14151312
read them properly
14161313
* Update Bonjour to work with newer cross-platform SDK
1417-
* -Remove BeOS and QNX-specific code
14181314
* Split out libpq pgpass and environment documentation sections to make
14191315
it easier for non-developers to find
14201316
* Improve port/qsort() to handle sorts with 50% unique and 50% duplicate
@@ -1452,7 +1348,6 @@ Source Code
14521348
option is to wait for the MinGW project to fix it, or use the
14531349
code from the LibGW32C project as a guide.
14541350

1455-
o -Port contrib/xml2
14561351
o Check WSACancelBlockingCall() for interrupts [win32intr]
14571352

14581353

0 commit comments

Comments
 (0)