1
1
TODO list for PostgreSQL
2
2
========================
3
- Last updated:Thu Nov 2220:48:31 EST 2001
3
+ Last updated:Thu Nov 2221:21:59 EST 2001
4
4
5
5
Current maintainer:Bruce Momjian (pgman@candle.pha.pa.us)
6
6
@@ -39,25 +39,25 @@ ADMIN
39
39
40
40
* Improve control over user privileges, including table creation and
41
41
lock use [privileges] (Karel, others)
42
+ * Make it easier to create a database owned by someone who can't createdb
42
43
* -Permission to DELETE table also allows UPDATE (Peter E)
43
44
* Allow elog() to return error codes, module name, file name, line
44
45
number, not just messages (Peter E) [elog]
45
46
* -Allow international error message support and add error codes[elog](Peter E)
46
47
* -Remove unused sort files on postmaster startup (Bruce)
47
48
* Remove unreferenced table files and temp tables during database vacuum
48
- or postmaster startup
49
+ or postmaster startup (Bruce)
49
50
* -Remove unreferenced sort files during postmaster startup (Bruce)
50
- * Add table name mapping for numeric file names
51
+ * Add table name mapping for numeric file names (Bruce)
51
52
* -Better document pg_hba.conf host-based authentication (Bruce)
52
53
* -Encrpyt passwords in pg_shadow table using MD5 (Bruce, Vince)
53
54
* Incremental backups
54
- * Make it easier to create a database owned by someone who can't createdb
55
55
* Remove behavior of postmaster -o after making postmaster/postgres
56
56
flags unique
57
57
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
58
- * Addfunctions to returnstorage length of TOAST data values (Tom)
58
+ * Addfunction to returncompressed length of TOAST data values (Tom)
59
59
60
- TYPES
60
+ DATA TYPES
61
61
62
62
* Add domain capability [domain]
63
63
* Add IPv6 capability to INET/CIDR types
86
86
interface (force out-of-line storage and no compression)
87
87
o Auto-delete large objects when referencing row is deleted
88
88
89
- MULTILANGUAGE SUPPORT
89
+ MULTI-LANGUAGE SUPPORT
90
90
91
91
* Add NCHAR (as distinguished from ordinary varchar),
92
92
* Allow LOCALE on a per-column basis, default to ASCII
@@ -114,7 +114,6 @@ INDEXES
114
114
115
115
* Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
116
116
fails index can't store constant parameters
117
- * Add FILLFACTOR to index creation
118
117
* Order duplicate index entries by tid for faster heap lookups
119
118
* -Re-enable partial indexes
120
119
* -Prevent pg_attribute from having duplicate oids for indexes (Tom)
@@ -123,27 +122,28 @@ INDEXES
123
122
* UNIQUE INDEX on base column not honored on inserts from inherited table
124
123
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
125
124
[inheritance]
126
- * Allow DELETE/UPDATE on inherited table
127
- * Add UNIQUE capability to non-btree indexes
128
- * Certain indexes will not shrink, e.g. oid indexes with many inserts
129
125
* Have UPDATE/DELETE clean out indexes
126
+ * Allow UPDATE/DELETE on inherited table
127
+ * Add UNIQUE capability to non-btree indexes
130
128
* Add btree index support for reltime, tinterval, regproc
131
129
* Add rtree index support for line, lseg, path, point
130
+ * Certain indexes will not shrink, e.g. oid indexes with many inserts
132
131
* Use indexes for min() and max() or convert to SELECT col FROM tab ORDER
133
132
BY col DESC LIMIT 1 if appropriate index exists and WHERE clause acceptible
133
+ * Allow LIKE indexing optimization for non-ASCII locales
134
134
* Use index to restrict rows returned by multi-key index when used with
135
135
non-consecutive keys or OR clauses, so fewer heap accesses
136
- * Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
137
- float4, numeric/decimal too [optimizer]
138
- * -Use indexes with CIDR '<<' (contains) operator
139
- * Allow LIKE indexing optimization for non-ASCII locales
140
136
* Be smarter about insertion of already-ordered data into btree index
141
137
* -Gather more accurate dispersion statistics using indexes (Tom)
142
138
* Add deleted bit to index tuples to reduce heap access
143
139
* Prevent index uniqueness checks when UPDATE does not modifying column
144
140
* Add bitmap indexes [performance]
145
141
* Improve handling of index scans for NULL
142
+ * Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
143
+ float4, numeric/decimal too [optimizer]
144
+ * -Use indexes with CIDR '<<' (contains) operator
146
145
* Improve concurrency in GIST
146
+ * Add FILLFACTOR to index creation
147
147
148
148
SYSTEM TABLES
149
149
@@ -157,32 +157,30 @@ SYSTEM TABLES
157
157
COMMANDS
158
158
159
159
* Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
160
+ * Add BETWEEN ASYMMETRIC/SYMMETRIC
160
161
* -Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison [lock]
161
162
* Allow RULE recompilation
162
- * Add BETWEEN ASYMMETRIC/SYMMETRIC
163
163
* Remove LIMIT #,# and force use LIMIT and OFFSET clauses in 7.3 (Bruce)
164
164
* Allow LIMIT/OFFSET to use expressions
165
- * -Allow GRANT/REVOKE to handle multiple user/group names
165
+ * -Allow GRANT/REVOKE to handle multiple user/group names (Vince)
166
166
* -Allow CREATEUSER/CREATEDB ordering in CREATE/ALTER USER (Vince)
167
167
* Disallow TRUNCATE on tables that are involved in referential constraints
168
168
* Add OR REPLACE clauses to non-FUNCTION object creation
169
- * CREATE TABLE AS can not determine column lengths from expressions
169
+ * CREATE TABLE AS can not determine column lengths from expressions (Bruce)
170
170
* ALTER
171
171
o ALTER TABLE ADD COLUMN does not honor DEFAULT and non-CHECK CONSTRAINT
172
172
o ALTER TABLE ADD COLUMN to inherited table put column in wrong place
173
173
[inheritance]
174
- o Add ALTER TABLE DROP COLUMN feature [drop]
174
+ o Add ALTER TABLE DROP COLUMN feature [drop] (Bruce)
175
175
o Add ALTER FUNCTION
176
176
o Add ALTER TABLE DROP non-CHECK CONSTRAINT
177
177
o -Add ALTER TABLE DROP CHECK CONSTRAINT (Christopher Kings-Lynne)
178
178
o ALTER TABLE ADD PRIMARY KEY (Christopher Kings-Lynne)
179
179
o ALTER TABLE ADD UNIQUE (Christopher Kings-Lynne)
180
- o ALTER TABLE table ADD COLUMN column SERIAL doesn't create sequence
181
- o Prevent ALTER TABLE RENAME from renaming indexes and sequences (?)
182
-
180
+ o ALTER TABLE ADD COLUMN column SERIAL doesn't create sequence
183
181
* CLUSTER
184
182
o cluster all tables at once
185
- o prevent lose of indexes, permissions, inheritance
183
+ o prevent lose of indexes, permissions, inheritance (Bruce)
186
184
o Automatically keep clustering on a table
187
185
o -Keep statistics about clustering (Tom) [optimizer]
188
186
* COPY
@@ -198,7 +196,7 @@ COMMANDS
198
196
o Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
199
197
o Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
200
198
o Disallow missing columns in INSERT ... VALUES, per ANSI
201
- o Allow INSERT/UPDATE ... RETURNING new.col or old.col, handle
199
+ o Allow INSERT/UPDATE ... RETURNING new.col or old.col; handle
202
200
RULE cases (Philip)
203
201
* SHOW/SET
204
202
o Add SHOW command to display locks
@@ -210,12 +208,13 @@ COMMANDS
210
208
o Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM
211
209
ANALYZE, and CLUSTER
212
210
o Add SHOW command to see locale
213
- SERVER-SIDE LANGUAGES
211
+ * SERVER-SIDE LANGUAGES
214
212
o Allow PL/PgSQL's RAISE function to take expressions
215
- o PL/PgSQLdoes not handle quoted mixed-case identifiers
213
+ oFix PL/PgSQLto handle quoted mixed-case identifiers
216
214
o Change PL/PgSQL to use palloc() instead of malloc()
217
215
o Add untrusted version of plpython
218
216
o Add plsh server-side shell language (Peter E)
217
+ o Allow Java server-side programming (?) [java]
219
218
220
219
CLIENTS
221
220
@@ -228,7 +227,6 @@ CLIENTS
228
227
* Allow psql \d to show temporary table structure
229
228
* Add XML interface: psql, pg_dump, COPY, separate server (?)
230
229
* -Fix libpq to properly handle socket failures under native MS Win32
231
- * Fix ecpg variable handling in EXEC SQL AT statement
232
230
* -Add MD5 to ODBC (Bruce)
233
231
* Add documentation for perl, including mention of DBI/DBD perl location
234
232
* JDBC
@@ -256,6 +254,7 @@ CLIENTS
256
254
o Remove space_or_nl and line_end from pgc.l
257
255
o Fix nested C comments
258
256
o Add SQLSTATE
257
+ o Fix variable handling in EXEC SQL AT statement
259
258
260
259
REFERENTIAL INTEGRITY
261
260
@@ -271,8 +270,7 @@ REFERENTIAL INTEGRITY
271
270
* Allow user to control trigger firing order
272
271
* Change foreign key constraint for array -> element to mean element
273
272
in array
274
- * Fix foreign key constraints to not error on intermediate states
275
- of the database (Stephan)
273
+ * Fix foreign key constraints to not error on intermediate db states (Stephan)
276
274
277
275
DEPENDENCY CHECKING
278
276
@@ -305,7 +303,6 @@ EXOTIC FEATURES
305
303
* Allow plug-in modules to emulate features from other databases
306
304
* SQL*Net listener that makes PostgreSQL appear as an Oracle database
307
305
to clients
308
- * Allow Java server-side programming [java]
309
306
310
307
MISCELLANEOUS
311
308
@@ -331,7 +328,7 @@ CACHE
331
328
332
329
* Cache most recent query plan(s) (Karel) [prepare]
333
330
* Shared catalog cache, reduce lseek()'s by caching table size in shared area
334
- * Add free-behind capability for large sequential scans
331
+ * Add free-behind capability for large sequential scans (Bruce)
335
332
336
333
VACUUM
337
334
@@ -376,7 +373,6 @@ MISCELLANEOUS
376
373
SOURCE CODE
377
374
-----------
378
375
* Add use of 'const' for variables in source tree
379
- * Does Mariposa source contain any other bug fixes (?)
380
376
* -Convert remaining fprintf(stderr,...)/perror() to elog() (Peter E)
381
377
* Fix problems with libpq non-blocking/async code [async]
382
378
* -Merge global and template BKI files (Tom)
@@ -390,7 +386,7 @@ SOURCE CODE
390
386
* Add version file format stamp to heap and other table types
391
387
* -Make elog(LOG) in WAL its own output type, distinct from DEBUG (Peter E)
392
388
* Rename some /contrib modules from pg* to pg_*
393
- * Move some things from /contrib into main tree, like fuzzystrmatch
389
+ * Move some things from /contrib into main tree
394
390
* Remove warnings created by -Wcast-align
395
391
* Move platform-specific ps status display info from ps_status.c to ports
396
392
* Allow ps status display to work on Solaris/SVr4-based systems