1
1
TODO list for PostgreSQL
2
2
========================
3
- Last updated: Thu May 10 13:29:36 EDT 2001
3
+ Last updated: Thu May 10 16:26:24 EDT 2001
4
4
5
5
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
6
6
@@ -57,13 +57,13 @@ ADMIN
57
57
* Remove unused files during database vacuum or postmaster startup
58
58
* Add table name mapping for numeric file names
59
59
* Overhaul pg_hba.conf host-based authentication
60
+ * Incremental backups
60
61
61
62
TYPES
62
63
63
64
* Add domain capability
64
65
* Add IPv6 capability to INET/CIDR types
65
66
* Add conversion function from text to inet
66
- * Make a separate SERIAL type?
67
67
* Store binary-compatible type information in the system
68
68
* Allow nulls in arrays
69
69
* Allow arrays to be ORDER'ed
@@ -107,66 +107,91 @@ INDEXES
107
107
[inheritance]
108
108
* Prevent pg_attribute from having duplicate oids for indexes (Tom)
109
109
* Add UNIQUE capability to non-btree indexes
110
- * Certain indexes will not shrink, i.e . oid indexes with many inserts (Vadim)
110
+ * Certain indexes will not shrink, e.g . oid indexes with many inserts (Vadim)
111
111
* Have UPDATE/DELETE clean out indexes
112
112
* Add btree index support for reltime, tinterval, regproc
113
113
* Add rtree index support for line, lseg, path, point
114
+ * Use indexes for min() and max()
115
+ * Use index to restrict rows returned by multi-key index when used with
116
+ non-consecutive keys or OR clauses, so fewer heap accesses
117
+ * Allow SELECT * FROM tab WHERE int2col = 4 use int2col index, int8,
118
+ float4, numeric/decimal too [optimizer]
119
+ * Use indexes with CIDR '<<' (contains) operator
120
+ * Allow LIKE indexing optimization for non-ASCII locales
121
+ * Be smarter about insertion of already-ordered data into btree index
122
+ * Gather more accurate dispersion statistics using indexes
123
+ * Add deleted bit to index tuples to reduce heap access
124
+ * Prevent index uniqueness checks when UPDATE does not modifying column
125
+ * System Tables
126
+ * Add unique indexes to pg_shadow.usename and pg_shadow.usesysid or
127
+ switch to pg_shadow.oid as user id
128
+ * Add unique indexes on pg_database
129
+ * Check all system tables and add unique indexes as needed
130
+ * Remove pg_listener index
131
+ * Remove unused pg_variable, pg_inheritproc, pg_ipl tables
114
132
115
133
COMMANDS
116
134
117
- * ALTER TABLE ADD COLUMN to inherited table put column in wrong place
118
- [inheritance]
119
- * Add ALTER TABLE DROP COLUMN feature [drop ]
120
- * Add ALTER FUNCTION
121
- * Add ALTER TABLE ... DROP CONSTRAINT
122
- * Automatically drop constraints/functions when object is dropped
135
+ * ALTER
136
+ * ALTER TABLE ADD COLUMN to inherited table put column in wrong place
137
+ [inheritance ]
138
+ * Add ALTER TABLE DROP COLUMN feature [drop]
139
+ * Add ALTER FUNCTION
140
+ * Add ALTER TABLE DROP CONSTRAINT
123
141
* CLUSTER
124
142
* cluster all tables at once
125
143
* prevent lose of indexes, permissions, inheritance
126
144
* Automatically keep clustering on a table
127
145
* Keep statistics about clustering, perhaps during VACUUM ANALYZE
128
146
[optimizer]
147
+ * COPY
148
+ * Update reltuples in COPY
149
+ * Allow specification of column names
150
+ * Allow dump/load of CSV format
151
+ * CURSOR
152
+ * Allow BINARY option to SELECT, like we do with DECLARE
153
+ * MOVE 0 should not move to end of cursor
154
+ * Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
155
+ * Allow DELETE WHERE CURRENT OF cursor
156
+ * INSERT
157
+ * Allow INSERT/UPDATE of system-generated oid value for a row
158
+ * Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
159
+ * Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
160
+ * Disallow missing columns in INSERT ... VALUES, per ANSI
161
+ * Allow INSERT/UPDATE ... RETURNING new.col or old.col (Philip)
129
162
* Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
130
- * Auto-destroy sequence on DROP of table with SERIAL (Ryan)
163
+ * Auto-destroy sequence on DROP of table with SERIAL, perhaps with a separate
164
+ SERIAL type
131
165
* Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison [lock]
132
- * Allow INSERT/UPDATE of system-generated oid value for a row
133
- * Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
134
- * Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
135
166
* Allow RULE recompilation
136
- * Allow BINARY option to SELECT, like we do with DECLARE
137
- * MOVE 0 should not move to end of cursor
138
- * Add SHOW command to display locks
139
- * Bring INSERT ... VALUES up to full SQL92 spec, disallow missing
140
- columns, allow DEFAULT
141
- * Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
142
- * Allow DELETE WHERE CURRENT OF cursor
143
167
* Add BETWEEN ASYMMETRIC/SYMMETRIC
144
- * Add SET or BEGIN timeout parameter to cancel query if waiting too long
168
+ * SHOW/SET
169
+ * Add SHOW command to display locks
170
+ * Add a global RESET command for use with connection pooling
171
+ * Add SET or BEGIN timeout parameter to cancel query if waiting too long
172
+ * Add SET REAL_FORMAT and SET DOUBLE_PRECISION_FORMAT using printf args
173
+ * Remove SET KSQO option now that OR processing is improved (Tom)
174
+ * Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM
175
+ ANALYZE, and CLUSTER
145
176
* Change LIMIT val,val to offset,limit to match MySQL
146
177
* Allow Pl/PgSQL's RAISE function to take expressions
147
178
148
179
CLIENTS
149
180
150
181
* Make NULL's come out at the beginning or end depending on the
151
182
ORDER BY direction
152
- * COPY
153
- * Update reltuples in COPY
154
- * Allow specification of column names
155
- * Allow dump/load of CSV format
156
- * fix array handling for ECPG
183
+ * fix array handling in ECPG
157
184
* have pg_dump use LEFT OUTER JOIN in multi-table SELECTs
158
185
or multiple SELECTS to avoid bad system catalog entries
159
186
* allow psql \d to show primary and foreign keys
160
187
* allow psql \d to show temporary table structure
161
188
* add XML interface capability
162
- * Add a global RESET command for use with connection pooling
163
189
* Remove <=6.3 version compatibility in ODBC?
164
- * Add SET REAL_FORMAT and SET DOUBLE_PRECISION_FORMAT using printf args
165
190
166
191
REFERENTIAL INTEGRITY
167
192
168
193
* Add MATCH PARTIAL referential integrity
169
- * Check that primary key exists at foreign key definition time
194
+ * - Check that primary key exists at foreign key definition time
170
195
* Prevent column dropping if column is used by foreign key
171
196
* Propagate column or table renaming to foreign key constraints
172
197
* Add deferred trigger queue file (Jan)
@@ -175,39 +200,37 @@ REFERENTIAL INTEGRITY
175
200
* Enforce referential integrity for system tables
176
201
* INSERT & UPDATE/DELETE in transaction of primary key fails with
177
202
deferredTriggerGetPreviousEvent or "change violation" [foreign]
178
- * Add unique indexes to pg_shadow.usename and pg_shadow.usesysid or
179
- switch to pg_shadow.oid as user id
180
- * Add unique indexes on pg_database
181
- * Check all system tables and add unique indexes as needed
182
203
* Make constraints clearer in dump file
183
204
* Change foreign key constraint for array -> element to mean element
184
205
in array
206
+ * Automatically drop constraints/functions when object is dropped
207
+
208
+ TRANSACTIONS
209
+
210
+ * Implement UNDO using transaction log
211
+ * Allow autocommit so always in a transaction block
212
+ * Overhaul bufmgr/lockmgr/transaction manager
213
+ * Allow nested transactions (Vadim)
214
+ * Handle transaction rollover [transactions]
185
215
186
216
EXOTIC FEATURES
187
217
188
218
* Add sql3 recursive unions
189
219
* Add the concept of dataspaces/tablespaces [tablespaces]
220
+ * Allow SQL92 schemas
190
221
* Allow queries across multiple databases
191
- * Allow nested transactions (Vadim)
192
- * Allow INSERT/UPDATE ... RETURNING new.col or old.col (Philip)
193
- * Add pre-parsing phase that convets non-ANSI features to supported features
222
+ * Add pre-parsing phase that converts non-ANSI features to supported features
194
223
* SQL*Net listener that makes PostgreSQL appear as an Oracle database
195
224
to clients
196
- * Incremental backups
197
- * Allow SQL92 schemas
198
- * Handle transaction rollover [transactions]
199
225
200
226
MISCELLANEOUS
201
227
202
228
* Increase identifier length(NAMEDATALEN) if small performance hit
203
229
* Create a background process for each database that runs while
204
230
database is idle, finding superceeded rows, gathering stats and vacuuming
205
- * Implement UNDO using transaction log
206
231
* Populate backend status area and write program to dump status data
207
232
* Put sort files in their own directory
208
- * Allow autocommit so always in a transaction block
209
233
* Show location of syntax error in query [yacc]
210
- * Overhaul bufmgr/lockmgr/transaction manager
211
234
* Encrpyt passwords in pg_shadow table using MD5 (Vince)
212
235
* Allow Java server-side programming [java]
213
236
* Add sed-like regular expression search/replace capability
@@ -216,27 +239,13 @@ MISCELLANEOUS
216
239
PERFORMANCE
217
240
-----------
218
241
219
- - FSYNC
242
+ FSYNC
220
243
221
244
* Delay fsync() when other backends are about to commit too [fsync]
222
245
* Determine optimal commit_delay value
223
246
* Determine optimal fdatasync/fsync, O_SYNC/O_DSYNC options
224
247
* Allow multiple blocks to be written to WAL with one write()
225
248
226
- INDEXES
227
-
228
- * Use indexes to find min() and max()
229
- * Use index to restrict rows returned by multi-key index when used with
230
- non-consecutive keys or OR clauses, so fewer heap accesses
231
- * Allow SELECT * FROM tab WHERE int2col = 4 use int2col index, int8,
232
- float4, numeric/decimal too [optimizer]
233
- * Use indexes with CIDR '<<' (contains) operator
234
- * Allow LIKE indexing optimization for non-ASCII locales
235
- * Be smarter about insertion of already-ordered data into btree index
236
- * Gather more accurate dispersion statistics using indexes
237
- * Add deleted bit to index tuples to reduce heap access
238
- * Prevent index uniqueness checks when UPDATE does not modify column
239
-
240
249
CACHE
241
250
242
251
* Cache most recent query plan(s) (Karel) [prepare]
@@ -247,14 +256,15 @@ VACUUM
247
256
* Improve speed with indexes (perhaps recreate index instead) [vacuum]
248
257
* Reduce lock time by moving tuples with read lock, then write
249
258
lock and truncate table [vacuum]
250
- * Make ANALYZE a separate command
251
- * Allow ANALYZE to ESTIMATE based on certain random precentage of rows
259
+ * - Make ANALYZE a separate command
260
+ * - Allow ANALYZE to ESTIMATE based on certain random precentage of rows
252
261
* Add LAZY VACUUM (Vadim)
253
262
254
263
MISCELLANEOUS
255
264
256
265
* Allow compression of log and meta data
257
266
* Do async I/O to do better read-ahead of data
267
+ * Experiment with multi-threaded backend [thread]
258
268
* Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
259
269
when it is available
260
270
* Use mmap() rather than SYSV shared memory(?) [mmap]
@@ -263,26 +273,19 @@ MISCELLANEOUS
263
273
* improve dynamic memory allocation by introducing tuple-context memory
264
274
allocation (Tom)
265
275
* allow configuration of maximum number of open files
266
- * Remove pg_listener index
267
- * Improve statistics storage in pg_class [performance]
276
+ * -Improve statistics storage in pg_class [performance]
268
277
* Add connection pooling [pool]
269
278
* Allow persistent backends [persistent]
270
279
* Create a transaction processor to aid in persistent connections and
271
280
connection pooling
272
- * Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM
273
- ANALYZE, and CLUSTER
274
- * Force transactions that commit at near the same time use a single fsync()
275
281
* Make blind writes go through the file descriptor cache
276
282
* Allow logging of query durations
277
283
278
284
SOURCE CODE
279
285
-----------
280
286
* Add use of 'const' for variables in source tree
281
287
* Does Mariposa source contain any other bug fixes?
282
- * Remove SET KSQO option now that OR processing is improved (Tom)
283
288
* Convert remaining fprintf(stderr,...)/perror() to elog()
284
- * Remove unused pg_variable, pg_inheritproc, pg_ipl tables
285
- * Experiment with multi-threaded backend [thread]
286
289
* Fix problems with libpq non-blocking/async code [async]
287
290
* Merge global and template BKI files (Peter E)
288
291
* Fix username/password length limits in all areas
@@ -293,12 +296,12 @@ SOURCE CODE
293
296
* Add version file format stamp to heap and other table types
294
297
* Make elog(LOG) in WAL its own output type, distinct from DEBUG
295
298
* Rename some /contrib modules from pg* to pg_*
299
+ * Move some things from /contrib into main tree, like soundex
300
+ * Allow plug-in modules to emulate features from other databases
296
301
* Remove warnings created by -Wcast-align
297
302
* Move platform-specific ps status display info from ps_status.c to ports
298
- * Decide on spelling of indexes/indices
299
303
* Allow ps status display to work on Solaris/SVr4-based systems
300
- * Move some things from /contrib into main tree, like soundex
301
- * Allow plug-in modules to emulate features from other databases
304
+ * Decide on spelling of indexes/indices
302
305
* Add mention of VACUUM, log rotation to Administrator's Guide
303
306
* Add PL/Python documentation
304
307
0 commit comments