Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b0f9c6

Browse files
committed
Remove items completed in 7.4:
< * -Allow elog() to return error codes, module name, file name, line< number, not just messages (Tom)< * -Add error codes (Tom)< * -Make error messages more consistent40d35< * -Add GUC log_statement_and_duration to print statement and >= min duration51d45< * -Allow easy display of usernames in a group53d46< * -Add start time to pg_stat_activity55d47< * -Have standalone backend read postgresql.conf (Tom)59d50< * -Allow CIDR format to be used in pg_hba.conf74d64< * -Add IPv6 capability to INET/CIDR types77d66< * -Change NUMERIC data type to use base 10,000 internally82d70< * -Add GUC variables to control floating number output digits (Pedro Ferreira)90,92d77< * -Allow current datestyle to restrict dates; prevent month/day swapping< from making invalid dates valid< * -Prevent month/day swapping of ISO dates to make invalid dates valid102d86< o -Allow arrays to be ORDER'ed104d87< o -Support construction of array result values in expressions (Joe)128d110< * -Remove Cyrillic recode support146,147d127< * -Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)< fails index can't store constant parameters155d134< * -Add btree index support for reltime, tinterval, regproc (Tom)157d135< * -Certain indexes will not shrink, e.g. indexes on ever-increasing161d138< * -Allow LIKE indexing optimization for non-ASCII locales using special index173d149< * -Improve concurrency of hash indexes (Tom)181d156< * -Allow LIMIT/OFFSET to use expressions (Tom)187d161< * -Return proper effected tuple count from complex commands [return]191d164< * -Make a transaction-safe TRUNCATE (Rod)196,197d168< * -Allow UPDATE to use SET col = DEFAULT< * -Add config variable to prevent auto-adding missing FROM-clause tables199d169< * -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle224,225d193< o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)< o -Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values237d204< o -Allow CLUSTER to cluster all tables (Alvaro Herrera)248d214< o -MOVE 0 should not move to end of cursor (Bruce)252d217< o -Allow cursors outside transactions264,265d228< o -Allow EXPLAIN EXECUTE to see prepared plans< o -Allow SHOW of some non-modifiable variables, like pg_controldata280d242< o -Allow array declarations and other data types in PL/PgSQL DECLARE282,283d243< o -Make PL/PgSQL %TYPE schema-aware< o -Allow PL/PgSQL to support array element assignment (Joe)294,298d253< * -Allow psql to show transaction status if backend protocol changes made< * -Add schema, cast, and conversion backslash commands to psql (Christopher)< * -Allow pg_dump to dump a specific schema (Neil Conway)< * -Allow psql to do table completion for SELECT * FROM schema_part and< table completion for SELECT * FROM schema_name.300,302d254< * -Allow SSL-enabled clients to turn off SSL transfers< * -Modify pg_get_triggerdef() to take a boolean to pretty-print,< and use that as part of pg_dump along with psql327d278< o -Add SQLSTATE330d280< o -Make casts work in variable initializations334,336d283< o -Allow multi-threaded use of SQLCA< o -Understand structure definitions outside a declare section< o -Allow :var[:index] or :var[<integer>] as cvariable for an array var356d302< * -Support statement-level triggers (Neil)460,461d405< * -Add checkpoint_min_warning postgresql.conf option to warn about checkpoints< that are too frequent (Bruce)472,476d415< * -Improve Subplan list handling< * -Allow Subplans to use efficient joins(hash, merge) with upper variable< * -Add hash for evaluating GROUP BY aggregates (Tom)< * -Allow merge and hash joins on expressions not just simple variables (Tom)< * -Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS (Tom)480d418< * -Inline simple SQL functions to avoid overhead (Tom)495d432< * -Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>511,512d447< * -Modify regression tests to prevent failures do to minor numeric rounding< * -Add OpenBSD's getpeereid() call for local socket authentication537,542d471< o -Show transaction status in psql< o -Allow binding of query parameters, support for prepared queries< o -Remove hard-coded limits on user/db/password names< o -Remove unused elements of startup packet (unused, tty, passlength)< o -Fix COPY/fastpath protocol< o -Error codes544d472< o -Special passing of binary values in platform-neutral format (bytea?)547d474< o -Report server version number, database encoding, client encoding
1 parent022da0e commit0b0f9c6

File tree

1 file changed

+2
-75
lines changed

1 file changed

+2
-75
lines changed

‎doc/TODO

Lines changed: 2 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TODO list for PostgreSQL
22
========================
3-
Last updated:Sun Nov16 21:05:26 EST 2003
3+
Last updated:Wed Nov19 12:33:55 EST 2003
44

55
Current maintainer:Bruce Momjian (pgman@candle.pha.pa.us)
66

@@ -32,12 +32,7 @@ Urgent
3232
Reporting
3333
=========
3434

35-
* -Allow elog() to return error codes, module name, file name, line
36-
number, not just messages (Tom)
37-
* -Add error codes (Tom)
38-
* -Make error messages more consistent
3935
* Show location of syntax error in query [yacc]
40-
* -Add GUC log_statement_and_duration to print statement and >= min duration
4136

4237

4338
Administration
@@ -48,15 +43,11 @@ Administration
4843
or postmaster startup (Bruce)
4944
* Remove behavior of postmaster -o after making postmaster/postgres
5045
flags unique
51-
* -Allow easy display of usernames in a group
5246
* Allow configuration files to be specified in a different directory
53-
* -Add start time to pg_stat_activity
5447
* Allow limits on per-db/user connections
55-
* -Have standalone backend read postgresql.conf (Tom)
5648
* Add group object ownership, so groups can rename/drop/grant on objects,
5749
so we can implement roles
5850
* Add the concept of dataspaces/tablespaces [tablespaces]
59-
* -Allow CIDR format to be used in pg_hba.conf
6051
* Allow logging of only data definition(DDL), or DDL and modification statements
6152
* Allow log lines to include session-level information, like database and user
6253
* Allow server log information to be output as INSERT statements
@@ -71,25 +62,19 @@ Administration
7162
Data Types
7263
==========
7364

74-
* -Add IPv6 capability to INET/CIDR types
7565
* Remove Money type, add money formatting for decimal type
7666
* Change factorial to return a numeric
77-
* -Change NUMERIC data type to use base 10,000 internally
7867
* Change NUMERIC to enforce the maximum precision, and increase it
7968
* Add function to return compressed length of TOAST data values (Tom)
8069
* Allow INET subnet tests using non-constants to be indexed
8170
* Add transaction_timestamp(), statement_timestamp(), clock_timestamp() functionality
82-
* -Add GUC variables to control floating number output digits (Pedro Ferreira)
8371
* Have sequence dependency track use of DEFAULT sequences, seqname.nextval
8472
* Disallow changing default expression of a SERIAL column
8573
* Allow infinite dates just like infinite timestamps
8674
* Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUE
8775
* Allow better handling of numeric constants, type conversion [typeconv]
8876
* Allow backend to output result sets in XML
8977
* Prevent whole-row references from leaking memory, e.g. SELECT COUNT(tab.*)
90-
* -Allow current datestyle to restrict dates; prevent month/day swapping
91-
from making invalid dates valid
92-
* -Prevent month/day swapping of ISO dates to make invalid dates valid
9378
* Have initdb set DateStyle based on locale?
9479
* Add pg_get_acldef(), pg_get_typedefault(), and pg_get_attrdef()
9580
* Add ALTER DOMAIN, AGGREGATE, CONVERSION, SEQUENCE ... OWNER TO
@@ -99,9 +84,7 @@ Data Types
9984

10085
* ARRAYS
10186
o Allow nulls in arrays
102-
o -Allow arrays to be ORDER'ed
10387
o Allow MIN()/MAX() on arrays
104-
o -Support construction of array result values in expressions (Joe)
10588
o Delay resolution of array expression type so assignment coercion
10689
can be performed on empty array expressions (Joe)
10790

@@ -125,7 +108,6 @@ Multi-Language Support
125108
* Make octet_length_client the same as octet_length() (?)
126109
* Prevent mismatch of frontend/backend encodings from converting bytea
127110
data from being interpreted as encoded strings
128-
* -Remove Cyrillic recode support
129111
* Fix upper()/lower() to work for multibyte encodings
130112

131113

@@ -143,22 +125,17 @@ Views / Rules
143125
Indexes
144126
=======
145127

146-
* -Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
147-
fails index can't store constant parameters
148128
* Order duplicate index entries by tid for faster heap lookups
149129
* Allow inherited tables to inherit index, UNIQUE constraint, and primary
150130
key, foreign key [inheritance]
151131
* UNIQUE INDEX on base column not honored on inserts from inherited table
152132
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
153133
[inheritance]
154134
* Add UNIQUE capability to non-btree indexes
155-
* -Add btree index support for reltime, tinterval, regproc (Tom)
156135
* Add rtree index support for line, lseg, path, point
157-
* -Certain indexes will not shrink, e.g. indexes on ever-increasing
158136
columns and indexes with many duplicate keys
159137
* Use indexes for min() and max() or convert to SELECT col FROM tab ORDER
160138
BY col DESC LIMIT 1 if appropriate index exists and WHERE clause acceptible
161-
* -Allow LIKE indexing optimization for non-ASCII locales using special index
162139
* Use index to restrict rows returned by multi-key index when used with
163140
non-consecutive keys or OR clauses, so fewer heap accesses
164141
* Be smarter about insertion of already-ordered data into btree index
@@ -170,33 +147,26 @@ Indexes
170147
float4, numeric/decimal too [optimizer]
171148
* Add FILLFACTOR to btree index creation
172149
* Add concurrency to GIST
173-
* -Improve concurrency of hash indexes (Tom)
174150
* Allow a single index to index multiple tables (for inheritance and subtables)
175151

176152

177153
Commands
178154
========
179155

180156
* Add BETWEEN ASYMMETRIC/SYMMETRIC (Christopher)
181-
* -Allow LIMIT/OFFSET to use expressions (Tom)
182157
* Change LIMIT/OFFSET to use int8
183158
* CREATE TABLE AS can not determine column lengths from expressions [atttypmod]
184159
* Allow UPDATE to handle complex aggregates [update]
185160
* Allow command blocks to ignore certain types of errors
186161
* Allow backslash handling in quoted strings to be disabled for portability
187-
* -Return proper effected tuple count from complex commands [return]
188162
* Allow UPDATE, DELETE to handle table aliases for self-joins [delete]
189163
* Add CORRESPONDING BY to UNION/INTERSECT/EXCEPT
190164
* Allow REINDEX to rebuild all indexes, remove /contrib/reindex
191-
* -Make a transaction-safe TRUNCATE (Rod)
192165
* Add ROLLUP, CUBE, GROUPING SETS options to GROUP BY
193166
* Add schema option to createlang
194167
* Allow savepoints / nested transactions [transactions] (Bruce)
195168
* Allow UPDATE tab SET ROW (col, ...) = (...) for updating multiple columns
196-
* -Allow UPDATE to use SET col = DEFAULT
197-
* -Add config variable to prevent auto-adding missing FROM-clause tables
198169
* Allow SET CONSTRAINTS to be qualified by schema/table
199-
* -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
200170
* Prevent COMMENT ON DATABASE from using a database name
201171
* Add GUC variable to prevent waiting on locks
202172
* Allow TRUNCATE ... CASCADE/RESTRICT
@@ -221,8 +191,6 @@ Commands
221191
rows with DEFAULT value
222192
o ALTER TABLE ADD COLUMN column SERIAL doesn't create sequence because
223193
of the item above
224-
o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
225-
o -Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values
226194
o Have ALTER TABLE rename SERIAL sequences
227195
o Allow columns to be reordered using ALTER ... POSITION i col1 [,col2];
228196
have SELECT * and INSERT honor such ordering
@@ -234,7 +202,6 @@ Commands
234202

235203
* CLUSTER
236204
o Automatically maintain clustering on a table
237-
o -Allow CLUSTER to cluster all tables (Alvaro Herrera)
238205

239206
* COPY
240207
o Allow dump/load of CSV format
@@ -245,11 +212,9 @@ Commands
245212
o Have COPY return number of rows loaded/unloaded
246213

247214
* CURSOR
248-
o -MOVE 0 should not move to end of cursor (Bruce)
249215
o Allow UPDATE/DELETE WHERE CURRENT OF cursor using per-cursor tid
250216
stored in the backend (Gavin)
251217
o Prevent DROP of table being referenced by our own open cursor
252-
o -Allow cursors outside transactions
253218

254219
* INSERT
255220
o Allow INSERT/UPDATE of system-generated oid value for a row
@@ -261,8 +226,6 @@ Commands
261226
o Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM
262227
ANALYZE, and CLUSTER
263228
o Add SET PATH for schemas
264-
o -Allow EXPLAIN EXECUTE to see prepared plans
265-
o -Allow SHOW of some non-modifiable variables, like pg_controldata
266229

267230
* SERVER-SIDE LANGUAGES
268231
o Allow PL/PgSQL's RAISE function to take expressions
@@ -277,10 +240,7 @@ Commands
277240
o Allow function parameters to be passed by name,
278241
get_employee_salary(emp_id => 12345, tax_year => 2001)
279242
o Add PL/PgSQL packages
280-
o -Allow array declarations and other data types in PL/PgSQL DECLARE
281243
o Add table function support to pltcl, plperl, plpython
282-
o -Make PL/PgSQL %TYPE schema-aware
283-
o -Allow PL/PgSQL to support array element assignment (Joe)
284244
o Add PL/PHP (Joe, Jan)
285245
o Allow PL/pgSQL to name columns by ordinal position, e.g. rec.(3)
286246
o Allow PL/pgSQL EXECUTE query_var INTO record_var;
@@ -291,15 +251,7 @@ Commands
291251
Clients
292252
=======
293253

294-
* -Allow psql to show transaction status if backend protocol changes made
295-
* -Add schema, cast, and conversion backslash commands to psql (Christopher)
296-
* -Allow pg_dump to dump a specific schema (Neil Conway)
297-
* -Allow psql to do table completion for SELECT * FROM schema_part and
298-
table completion for SELECT * FROM schema_name.
299254
* Add XML capability to pg_dump and COPY, when backend XML capability
300-
* -Allow SSL-enabled clients to turn off SSL transfers
301-
* -Modify pg_get_triggerdef() to take a boolean to pretty-print,
302-
and use that as part of pg_dump along with psql
303255
* Allow psql \du to show groups, and add \dg for groups
304256
* Allow clients to query WITH HOLD cursors and prepared statements
305257
* Prevent unneeded quoting in psql \d output using fmtId()
@@ -324,16 +276,11 @@ Clients
324276
o Solve cardinality > 1 for input descriptors / variables
325277
o Improve error handling
326278
o Add a semantic check level, e.g. check if a table really exists
327-
o -Add SQLSTATE
328279
o fix handling of DB attributes that are arrays
329280
o Use backend prepare/execute facility for ecpg where possible
330-
o -Make casts work in variable initializations
331281
o Implement SQLDA
332282
o Fix nested C comments
333283
o sqlwarn[6] should be 'W' if the PRECISION or SCALE value specified
334-
o -Allow multi-threaded use of SQLCA
335-
o -Understand structure definitions outside a declare section
336-
o -Allow :var[:index] or :var[<integer>] as cvariable for an array var
337284

338285
* Python
339286
o Allow users to register their own types with pg_
@@ -353,7 +300,6 @@ Referential Integrity
353300
* Allow DEFERRABLE UNIQUE constraints
354301
* Allow triggers to be disabled [trigger]
355302
* With disabled triggers, allow pg_dump to use ALTER TABLE ADD FOREIGN KEY
356-
* -Support statement-level triggers (Neil)
357303
* Allow statement-level triggers to access modified rows
358304
* Support triggers on columns (Neil)
359305
* Have AFTER triggers execute after the appropriate SQL statement in a
@@ -457,8 +403,6 @@ Write-Ahead Log
457403
* Turn off after-change writes if fsync is disabled (?)
458404
* Add WAL index reliability improvement to non-btree indexes
459405
* Find proper defaults for postgresql.conf WAL entries
460-
* -Add checkpoint_min_warning postgresql.conf option to warn about checkpoints
461-
that are too frequent (Bruce)
462406
* Allow xlog directory location to be specified during initdb, perhaps
463407
using symlinks
464408
* Allow WAL information to recover corrupted pg_controldata
@@ -469,15 +413,9 @@ Write-Ahead Log
469413
Optimizer / Executor
470414
====================
471415

472-
* -Improve Subplan list handling
473-
* -Allow Subplans to use efficient joins(hash, merge) with upper variable
474-
* -Add hash for evaluating GROUP BY aggregates (Tom)
475-
* -Allow merge and hash joins on expressions not just simple variables (Tom)
476-
* -Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS (Tom)
477416
* Missing optimizer selectivities for date, r-tree, etc. [optimizer]
478417
* Allow ORDER BY ... LIMIT to select top values without sort or index
479418
using a sequential scan for highest/lowest values (Oleg)
480-
* -Inline simple SQL functions to avoid overhead (Tom)
481419
* Precompile SQL functions to avoid overhead (Neil)
482420
* Add utility to compute accurate random_page_cost value
483421
* Improve ability to display optimizer analysis using OPTIMIZER_DEBUG
@@ -492,7 +430,6 @@ Miscellaneous
492430
=============
493431

494432
* Do async I/O for faster random read-ahead of data
495-
* -Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
496433
* Use mmap() rather than SYSV shared memory or to write WAL files (?) [mmap]
497434
* Improve caching of attribute offsets when NULLs exist in the row
498435
* Add a script to ask system configuration questions and tune postgresql.conf
@@ -508,8 +445,6 @@ Source Code
508445
* Move some things from /contrib into main tree
509446
* Remove warnings created by -Wcast-align
510447
* Move platform-specific ps status display info from ps_status.c to ports
511-
* -Modify regression tests to prevent failures do to minor numeric rounding
512-
* -Add OpenBSD's getpeereid() call for local socket authentication
513448
* Improve access-permissions check on data directory in Cygwin (Tom)
514449
* Add documentation for perl, including mention of DBI/DBD perl location
515450
* Create improved PostgreSQL introductory documentation for the PHP
@@ -523,7 +458,7 @@ Source Code
523458
* Acquire lock on a relation before building a relcache entry for it
524459
* Research interaction of setitimer() and sleep() used by statement_timeout
525460
* Add checks for fclose() failure
526-
* Change CVS $Id: TODO,v 1.1169 2003/11/17 02:05:26 momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.1169 2003/11/17 02:05:26 momjian Exp $
461+
* Change CVS $Id: TODO,v 1.1170 2003/11/19 17:34:01 momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.1170 2003/11/19 17:34:01 momjian Exp $
527462
* Exit postmaster if postgresql.conf can not be opened
528463
* Rename /scripts directory because they are all C programs now
529464
* Allow the regression tests to start postmaster with -i so the tests
@@ -534,17 +469,9 @@ Source Code
534469

535470

536471
* Wire Protocol Changes
537-
o -Show transaction status in psql
538-
o -Allow binding of query parameters, support for prepared queries
539-
o -Remove hard-coded limits on user/db/password names
540-
o -Remove unused elements of startup packet (unused, tty, passlength)
541-
o -Fix COPY/fastpath protocol
542-
o -Error codes
543472
o Dynamic character set handling
544-
o -Special passing of binary values in platform-neutral format (bytea?)
545473
o Add decoded type, length, precision
546474
o Compression?
547-
o -Report server version number, database encoding, client encoding
548475
o Update clients to use data types, typmod, schema.table.column names of
549476
result sets using new query protocol
550477

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp