TODO 20.3 KB
Newer Older
B
Bruce Momjian 已提交
1
TODO list for PostgreSQL
B
Bruce Momjian 已提交
2
========================
B
Added:  
Bruce Momjian 已提交
3
Last updated:		Thu Jan  3 13:12:10 EST 2002
M
Marc G. Fournier 已提交
4

B
Bruce Momjian 已提交
5
Current maintainer:	Bruce Momjian (pgman@candle.pha.pa.us)
M
Marc G. Fournier 已提交
6

B
Bruce Momjian 已提交
7
The most recent version of this document can be viewed at
B
Bruce Momjian 已提交
8
the PostgreSQL web site, http://www.PostgreSQL.org.
B
Bruce Momjian 已提交
9

B
Bruce Momjian 已提交
10
A dash (-) marks changes that will appear in the upcoming 7.2 release.
B
Bruce Momjian 已提交
11

B
Bruce Momjian 已提交
12
Bracketed items "[]" have more detailed.
B
Bruce Momjian 已提交
13

B
Bruce Momjian 已提交
14

M
Marc G. Fournier 已提交
15 16
RELIABILITY
-----------
B
Bruce Momjian 已提交
17

B
Bruce Momjian 已提交
18
* -SELECT pg_class FROM pg_class generates strange error (Bruce)
B
Bruce Momjian 已提交
19

B
Bruce Momjian 已提交
20

M
Marc G. Fournier 已提交
21 22
ENHANCEMENTS
------------
B
Bruce Momjian 已提交
23 24 25

URGENT

B
Bruce Momjian 已提交
26
* Add replication of distributed databases [replication]
B
Bruce Momjian 已提交
27
	o automatic failover
B
Bruce Momjian 已提交
28 29 30 31 32 33
	o load balancing
	o master/slave replication
	o multi-master replication
	o partition data across servers
	o sample implementation in contrib/rserv
	o queries across databases or servers (two-phase commit)
B
Bruce Momjian 已提交
34
	o http://gborg.postgresql.org/project/pgreplication/projdisplay.php
B
Bruce Momjian 已提交
35
* Point-in-time data recovery using backup and write-ahead log
B
Bruce Momjian 已提交
36
* Allow row re-use without vacuum (Tom)
B
Bruce Momjian 已提交
37

B
Bruce Momjian 已提交
38 39
ADMIN

B
Bruce Momjian 已提交
40
* Improve control over user privileges, including table creation and
B
Bruce Momjian 已提交
41
  lock use [privileges] (Karel, others)
B
Bruce Momjian 已提交
42 43
* Make it easier to create a database owned by someone who can't createdb,
  perhaps CREATE DATABASE dbname WITH USER = "user"
B
Bruce Momjian 已提交
44
* -Permission to DELETE table also allows UPDATE (Peter E)
B
Bruce Momjian 已提交
45
* Allow elog() to return error codes, module name, file name, line
B
Bruce Momjian 已提交
46 47 48
  number, not just messages (Peter E)
* -Allow international error message support (Peter E)
* Add error codes (Peter E)
B
Bruce Momjian 已提交
49 50
* -Remove unused sort files on postmaster startup (Bruce)
* Remove unreferenced table files and temp tables during database vacuum
B
Bruce Momjian 已提交
51
  or postmaster startup (Bruce)
B
Bruce Momjian 已提交
52
* -Remove unreferenced sort files during postmaster startup (Bruce)
B
Bruce Momjian 已提交
53
* Add table name mapping for numeric file names (Bruce)
B
Bruce Momjian 已提交
54
* -Better document pg_hba.conf host-based authentication (Bruce)
B
Bruce Momjian 已提交
55
* -Encrpyt passwords in pg_shadow table using MD5 (Bruce, Vince)
B
Bruce Momjian 已提交
56
* Incremental backups
B
Bruce Momjian 已提交
57 58
* Remove behavior of postmaster -o after making postmaster/postgres
  flags unique
B
Bruce Momjian 已提交
59
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
B
Bruce Momjian 已提交
60
* Add function to return compressed length of TOAST data values (Tom)
61 62 63
* Change DEBUG startup tag to NOTICE;  change NOTICE to output to client
  only if client exists (Bruce)

B
Bruce Momjian 已提交
64

B
Bruce Momjian 已提交
65
DATA TYPES
B
Bruce Momjian 已提交
66

B
Bruce Momjian 已提交
67
* Add domain capability [domain]
B
Bruce Momjian 已提交
68
* Add IPv6 capability to INET/CIDR types
B
Bruce Momjian 已提交
69
* -Add conversion function from text to inet
B
Bruce Momjian 已提交
70
* Store binary-compatible type information in the system
B
Bruce Momjian 已提交
71
* Allow better handling of numeric constants, type conversion [typeconv]
B
Bruce Momjian 已提交
72
* Support construction of array result values in expressions
B
Bruce Momjian 已提交
73
* Remove Money type, add money formatting for decimal type
B
Bruce Momjian 已提交
74
* SELECT cash_out(2) crashes because of opaque
75
* Declare typein/out functions in pg_proc with a special "C string" data type
B
Bruce Momjian 已提交
76
* Functions returning sets do not totally work
B
Bruce Momjian 已提交
77
* SELECT col FROM tab WHERE numeric_col = 10.1 fails, requires quotes
B
Bruce Momjian 已提交
78
* Missing optimizer selectivities for date, r-tree, etc. [optimizer]
B
Bruce Momjian 已提交
79
* -Add SQL standard function bit_length() (Peter E)
B
Bruce Momjian 已提交
80
* -Make oid use unsigned int more reliably (Tom)
B
Added  
Bruce Momjian 已提交
81
* Change factorial to return a numeric
82
* ARRAYS
B
Bruce Momjian 已提交
83 84
	o Allow nulls in arrays
	o Allow arrays to be ORDER'ed
B
Bruce Momjian 已提交
85
	o Ensure we have array-eq operators for every built-in array type
B
Bruce Momjian 已提交
86
* BINARY DATA
B
Bruce Momjian 已提交
87 88
	o -Add non-large-object binary field (already exists -- bytea)
	o -Make binary interface for TOAST columns (base64)
B
Bruce Momjian 已提交
89
	o Improve vacuum of large objects, like /contrib/vacuumlo
B
Bruce Momjian 已提交
90 91 92 93
	o Add security checking for large objects
	o Make file in/out interface for TOAST columns, similar to large object
	  interface (force out-of-line storage and no compression)
	o Auto-delete large objects when referencing row is deleted
B
Bruce Momjian 已提交
94

B
Bruce Momjian 已提交
95
MULTI-LANGUAGE SUPPORT
B
Bruce Momjian 已提交
96

97
* Add NCHAR (as distinguished from ordinary varchar),
B
Bruce Momjian 已提交
98
* Allow LOCALE on a per-column basis, default to ASCII
B
Bruce Momjian 已提交
99
* Support multiple simultaneous character sets, per SQL92
B
Bruce Momjian 已提交
100
* -Reject character sequences those are not valid in their charset (Tatsuo)
B
Bruce Momjian 已提交
101
* -Make functions more multi-byte aware, e.g. trim() (Tatsuo)
B
Bruce Momjian 已提交
102
* -Make n of CHAR(n)/VARCHAR(n) the number of letters, not bytes (Tatsuo)
B
Bruce Momjian 已提交
103
* Allow setting database character set without multibyte enabled
B
Bruce Momjian 已提交
104
* Improve Unicode combined character handling
B
Bruce Momjian 已提交
105
* Optimize locale to have minimal performance impact when not used (Peter E)
B
Bruce Momjian 已提交
106
* -Optimize textlength(), etc. for single-byte encodings (Tatsuo)
B
Bruce Momjian 已提交
107
* Add octet_length_server() and octet_length_client() (Thomas, Tatsuo)
B
Bruce Momjian 已提交
108
* Make octet_length_client the same as octet_length() (?)
B
Bruce Momjian 已提交
109

B
Bruce Momjian 已提交
110
VIEWS / RULES
B
Bruce Momjian 已提交
111

B
Bruce Momjian 已提交
112
* Automatically create rules on views so they are updateable, per SQL92 [view]
B
Bruce Momjian 已提交
113
* Add the functionality for WITH CHECK OPTION clause of CREATE VIEW
B
Bruce Momjian 已提交
114
* Allow NOTIFY in rules involving conditionals
B
Bruce Momjian 已提交
115
* -Evaluate INSERT rules at end of query, rather than beginning (Jan)
B
Bruce Momjian 已提交
116
* Allow temporary views
B
Bruce Momjian 已提交
117
* Move psql backslash information into views
B
Bruce Momjian 已提交
118 119
* Allow RULE recompilation
* Remove brackets as multi-statement rule grouping, must use parens
B
Bruce Momjian 已提交
120

B
Bruce Momjian 已提交
121
INDEXES
B
Bruce Momjian 已提交
122 123

* Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
B
Bruce Momjian 已提交
124
  fails index can't store constant parameters
B
Bruce Momjian 已提交
125
* Order duplicate index entries by tid for faster heap lookups
B
Bruce Momjian 已提交
126
* -Re-enable partial indexes
B
Bruce Momjian 已提交
127
* -Prevent pg_attribute from having duplicate oids for indexes (Tom)
B
Bruce Momjian 已提交
128 129
* Allow inherited tables to inherit index, UNIQUE constraint, and primary
  key, foreign key  [inheritance]
B
Bruce Momjian 已提交
130 131 132
* UNIQUE INDEX on base column not honored on inserts from inherited table
  INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
  [inheritance]
B
Bruce Momjian 已提交
133
* Have UPDATE/DELETE clean out indexes
B
Bruce Momjian 已提交
134 135
* Allow UPDATE/DELETE on inherited table
* Add UNIQUE capability to non-btree indexes
B
Bruce Momjian 已提交
136 137
* Add btree index support for reltime, tinterval, regproc
* Add rtree index support for line, lseg, path, point
B
Bruce Momjian 已提交
138
* Certain indexes will not shrink, e.g. oid indexes with many inserts
B
Bruce Momjian 已提交
139
* Use indexes for min() and max() or convert to SELECT col FROM tab ORDER
B
Bruce Momjian 已提交
140
  BY col DESC LIMIT 1 if appropriate index exists and WHERE clause acceptible
B
Bruce Momjian 已提交
141
* Allow LIKE indexing optimization for non-ASCII locales
B
Bruce Momjian 已提交
142 143 144
* Use index to restrict rows returned by multi-key index when used with
  non-consecutive keys or OR clauses, so fewer heap accesses
* Be smarter about insertion of already-ordered data into btree index
B
Bruce Momjian 已提交
145
* -Gather more accurate dispersion statistics using indexes (Tom)
B
Bruce Momjian 已提交
146 147
* Add deleted bit to index tuples to reduce heap access
* Prevent index uniqueness checks when UPDATE does not modifying column
B
Bruce Momjian 已提交
148
* Add bitmap indexes [performance]
B
Bruce Momjian 已提交
149
* Improve handling of index scans for NULL
B
Bruce Momjian 已提交
150 151 152
* Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
  float4, numeric/decimal too [optimizer]
* -Use indexes with CIDR '<<' (contains) operator
B
Bruce Momjian 已提交
153
* Improve concurrency in GIST
B
Bruce Momjian 已提交
154
* Add FILLFACTOR to index creation
B
Added:  
Bruce Momjian 已提交
155
* Allow only owner to create indexes
B
Bruce Momjian 已提交
156 157 158

SYSTEM TABLES

B
Bruce Momjian 已提交
159
* -Add unique indexes to pg_shadow.usename and pg_shadow.usesysid or
B
Bruce Momjian 已提交
160 161
  switch to pg_shadow.oid as user id (Tom)
* -Add unique indexes on pg_database (Tom)
B
Bruce Momjian 已提交
162
* -Check all system tables and add unique indexes as needed (Tom)
B
Bruce Momjian 已提交
163
* -Remove pg_listener index (Tom)
B
Bruce Momjian 已提交
164
* -Remove unused pg_variable, pg_inheritproc, pg_ipl tables (Bruce)
B
Bruce Momjian 已提交
165 166

COMMANDS
B
Bruce Momjian 已提交
167

168
* Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
B
Bruce Momjian 已提交
169
* Add BETWEEN ASYMMETRIC/SYMMETRIC
B
Bruce Momjian 已提交
170
* -Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison [lock]
B
Bruce Momjian 已提交
171
* Remove LIMIT #,# and force use LIMIT and OFFSET clauses in 7.3 (Bruce)
B
Bruce Momjian 已提交
172
* Allow LIMIT/OFFSET to use expressions
B
Bruce Momjian 已提交
173
* -Allow GRANT/REVOKE to handle multiple user/group names (Vince)
B
Bruce Momjian 已提交
174
* -Allow CREATEUSER/CREATEDB ordering in CREATE/ALTER USER (Vince)
B
Bruce Momjian 已提交
175
* Disallow TRUNCATE on tables that are involved in referential constraints
B
Bruce Momjian 已提交
176
* Add OR REPLACE clauses to non-FUNCTION object creation
B
Bruce Momjian 已提交
177 178
* CREATE TABLE AS can not determine column lengths from expressions [atttypmod]
* Allow UPDATE to handle complex aggregates [update]
B
Added:  
Bruce Momjian 已提交
179
* Prevent create/drop scripts from allowing extra args (Bruce)
B
Bruce Momjian 已提交
180
* ALTER
B
Bruce Momjian 已提交
181 182
	o ALTER TABLE ADD COLUMN does not honor DEFAULT and non-CHECK CONSTRAINT
	o ALTER TABLE ADD COLUMN to inherited table put column in wrong place
B
Bruce Momjian 已提交
183
	  [inheritance]
B
Bruce Momjian 已提交
184
	o Add ALTER TABLE DROP COLUMN feature [drop] (Bruce)
B
Bruce Momjian 已提交
185 186 187 188 189
	o Add ALTER FUNCTION
	o Add ALTER TABLE DROP non-CHECK CONSTRAINT
	o -Add ALTER TABLE DROP CHECK CONSTRAINT (Christopher Kings-Lynne)
	o ALTER TABLE ADD PRIMARY KEY (Christopher Kings-Lynne)
	o ALTER TABLE ADD UNIQUE (Christopher Kings-Lynne)
B
Bruce Momjian 已提交
190
	o ALTER TABLE ADD COLUMN column SERIAL doesn't create sequence
B
Bruce Momjian 已提交
191
	o ALTER TABLE ADD COLUMN column SET DEFAULT should fill existing
B
Bruce Momjian 已提交
192
	  rows with DEFAULT value
B
Added  
Bruce Momjian 已提交
193
	o Have ALTER TABLE OWNER change all dependant objects like indexes
B
Bruce Momjian 已提交
194
* CLUSTER
B
Bruce Momjian 已提交
195
	o cluster all tables at once
B
Bruce Momjian 已提交
196
	o prevent lose of indexes, permissions, inheritance (Bruce)
B
Bruce Momjian 已提交
197 198
	o Automatically keep clustering on a table
	o -Keep statistics about clustering (Tom) [optimizer]
B
Bruce Momjian 已提交
199
* COPY
B
Bruce Momjian 已提交
200 201
	o Allow specification of column names
	o Allow dump/load of CSV format
B
Add  
Bruce Momjian 已提交
202
	o Change syntax to WITH DELIMITER, (keep old syntax around?)
B
Bruce Momjian 已提交
203
* CURSOR
B
Bruce Momjian 已提交
204 205 206 207
	o Allow BINARY option to SELECT, like we do with DECLARE
	o MOVE 0 should not move to end of cursor
	o Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
	o Allow DELETE WHERE CURRENT OF cursor
B
Bruce Momjian 已提交
208
	o Prevent DROP of table being referenced by our own open cursor
B
Bruce Momjian 已提交
209
* INSERT
B
Bruce Momjian 已提交
210 211 212 213
	o Allow INSERT/UPDATE of system-generated oid value for a row
	o Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
	o Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
	o Disallow missing columns in INSERT ... VALUES, per ANSI
B
Bruce Momjian 已提交
214
	o Allow INSERT/UPDATE ... RETURNING new.col or old.col; handle
B
Bruce Momjian 已提交
215
	  RULE cases (Philip)
B
Bruce Momjian 已提交
216
* SHOW/SET
B
Bruce Momjian 已提交
217 218 219 220 221 222 223
	o Add SHOW command to display locks
	o -Add SHOW command to show all settings
	o -Add a global RESET command for use with connection pooling
	o Add SET or BEGIN timeout parameter to cancel query
	o Add SET REAL_FORMAT and SET DOUBLE_PRECISION_FORMAT using printf args
	o Remove SET KSQO option now that OR processing is improved (Tom)
	o Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM
B
Bruce Momjian 已提交
224
	  ANALYZE, and CLUSTER
B
Bruce Momjian 已提交
225
	o Add SHOW command to see locale
B
Bruce Momjian 已提交
226
* SERVER-SIDE LANGUAGES
B
Bruce Momjian 已提交
227
	o Allow PL/PgSQL's RAISE function to take expressions
B
Bruce Momjian 已提交
228
	o Fix PL/PgSQL to handle quoted mixed-case identifiers
B
Bruce Momjian 已提交
229 230 231
	o Change PL/PgSQL to use palloc() instead of malloc()
	o Add untrusted version of plpython
	o Add plsh server-side shell language (Peter E)
B
Bruce Momjian 已提交
232
	o Allow Java server-side programming (?) [java]
B
Bruce Momjian 已提交
233

B
Bruce Momjian 已提交
234 235
CLIENTS

B
Bruce Momjian 已提交
236 237
* -Make NULL's come out at the beginning or end depending on the
  ORDER BY direction (Tom)
B
Bruce Momjian 已提交
238
* Have pg_dump use LEFT OUTER JOIN in multi-table SELECTs
B
Bruce Momjian 已提交
239
  or multiple SELECTS to avoid bad system catalog entries
B
Bruce Momjian 已提交
240
* Have pg_dump -C dump database location and encoding information
B
Bruce Momjian 已提交
241 242 243
* Allow psql \d to show foreign keys
* Allow psql \d to show temporary table structure
* Add XML interface:  psql, pg_dump, COPY, separate server (?)
B
Bruce Momjian 已提交
244
* -Fix libpq to properly handle socket failures under native MS Win32
B
Bruce Momjian 已提交
245
* -Add MD5 to ODBC (Bruce)
B
Bruce Momjian 已提交
246
* Add config file check for $ODBCINI, $HOME/.odbc.ini, installpath/etc/odbc.ini
B
Bruce Momjian 已提交
247
* Add documentation for perl, including mention of DBI/DBD perl location
B
Added:  
Bruce Momjian 已提交
248 249
* Add PGPASSWORDFILE environment variable or ~/.pgpass to store
  user/host/password combinations
B
Bruce Momjian 已提交
250
* Remove PGPASSWORD because is insecure on some OS's
B
Added:  
Bruce Momjian 已提交
251 252
* -Allow single-user access without passwords using Unix socket permissions
* Make single-user local access permissions the default (Peter E)
B
Bruce Momjian 已提交
253
* JDBC
B
Bruce Momjian 已提交
254 255
	o Comprehensive test suite. This may be available already.
	o Updateable resultSet (must be done in backend code)
B
Barry Lind 已提交
256
	o -Improved DatabaseMetaData [java]
B
Bruce Momjian 已提交
257 258
	o JDBC-standard BLOB support
	o Error Codes (pending backend implementation)
B
Barry Lind 已提交
259
	o -Support for binary data/bytea
B
Added  
Bruce Momjian 已提交
260
	o Support both 'make' and 'ant'
B
Barry Lind 已提交
261 262 263 264
	o -Add MD5 capability
	o Fix LargeObject API to handle OIDs as unsigned ints
	o Implement cancel() method on Statement
	o Use cursors implicitly to avoid large results (see setCursorName())
265
        o Add support for CallableStatements
B
Bruce Momjian 已提交
266
* ECPG
B
Bruce Momjian 已提交
267 268
	o Implement set descriptor, using descriptor
	o Make casts work in variable initializations
B
Bruce Momjian 已提交
269 270
	o -Allow variable to specify the connection name
	o -Fix variable handling in EXEC SQL AT statement
B
Bruce Momjian 已提交
271
	o Implement SQLDA
B
Bruce Momjian 已提交
272
	o -Allow SELECT of array of strings into a auto-sized variable
B
Bruce Momjian 已提交
273
	o Solve cardinality > 1 for input descriptors / variables
B
Bruce Momjian 已提交
274 275 276 277 278
	o Understand structure definitions outside a declare section
	o sqlwarn[6] should be 'W' if the PRECISION or SCALE value specified
	o Improve error handling
	o Allow :var[:index] or :var[<integer>] as cvariable for an array var
	o Add a semantic check level, e.g. check if a table really exists
M
Michael Meskes 已提交
279
	o -Remove space_or_nl and line_end from pgc.l
B
Bruce Momjian 已提交
280 281
	o Fix nested C comments
	o Add SQLSTATE
M
Michael Meskes 已提交
282
	o fix handling of DB attributes taht are arrays
B
Bruce Momjian 已提交
283

B
Bruce Momjian 已提交
284 285
REFERENTIAL INTEGRITY

B
Bruce Momjian 已提交
286
* Add MATCH PARTIAL referential integrity [foreign]
B
Bruce Momjian 已提交
287
* -Check that primary key exists at foreign key definition time
B
Bruce Momjian 已提交
288
* Add deferred trigger queue file (Jan)
B
Bruce Momjian 已提交
289
* Allow oid to act as a foreign key
B
Bruce Momjian 已提交
290
* Implement dirty reads and use them in RI triggers
B
Bruce Momjian 已提交
291
* Make triggers refer to columns by number, not name
B
Bruce Momjian 已提交
292
* Enforce referential integrity for system tables
B
Bruce Momjian 已提交
293
* -INSERT & UPDATE/DELETE in transaction of primary key fails with
B
Bruce Momjian 已提交
294
  deferredTriggerGetPreviousEvent or "change violation"
B
Bruce Momjian 已提交
295
* Allow user to control trigger firing order
B
Bruce Momjian 已提交
296
* Change foreign key constraint for array -> element to mean element
B
Bruce Momjian 已提交
297
  in array
B
Bruce Momjian 已提交
298
* Fix foreign key constraints to not error on intermediate db states (Stephan)
B
Bruce Momjian 已提交
299

B
Bruce Momjian 已提交
300
DEPENDENCY CHECKING
B
Bruce Momjian 已提交
301

B
Bruce Momjian 已提交
302 303
* Add pg_depend table for dependency recording; use sysrelid, oid,
  depend_sysrelid, depend_oid, name
B
Bruce Momjian 已提交
304
* Auto-destroy sequence on DROP of table with SERIAL; perhaps a separate
B
Bruce Momjian 已提交
305
  SERIAL type
B
Bruce Momjian 已提交
306 307
* Have SERIAL generate non-colliding sequence names when we have 
  auto-destruction
B
Bruce Momjian 已提交
308 309
* Prevent column dropping if column is used by foreign key
* Propagate column or table renaming to foreign key constraints
B
Bruce Momjian 已提交
310
* Automatically drop constraints/functions when object is dropped
B
Bruce Momjian 已提交
311 312 313
* Make constraints clearer in dump file
* Make foreign keys easier to identify

B
Bruce Momjian 已提交
314 315 316 317
TRANSACTIONS

* Allow autocommit so always in a transaction block
* Overhaul bufmgr/lockmgr/transaction manager
B
Bruce Momjian 已提交
318
* Allow nested transactions / savepoints [transactions]
B
Bruce Momjian 已提交
319
* -Handle transaction rollover (Tom) [transactions]
B
Bruce Momjian 已提交
320

321 322 323
EXOTIC FEATURES

* Add sql3 recursive unions
B
Bruce Momjian 已提交
324
* Add the concept of dataspaces/tablespaces [tablespaces]
B
Bruce Momjian 已提交
325
* Allow SQL92 schemas [schema]
B
Bruce Momjian 已提交
326
* Allow queries across multiple databases [crossdb]
B
Bruce Momjian 已提交
327
* Add pre-parsing phase that converts non-ANSI features to supported features
B
Bruce Momjian 已提交
328
* Allow plug-in modules to emulate features from other databases
B
Bruce Momjian 已提交
329
* SQL*Net listener that makes PostgreSQL appear as an Oracle database
B
Bruce Momjian 已提交
330
  to clients
331

B
Bruce Momjian 已提交
332
MISCELLANEOUS
B
Bruce Momjian 已提交
333

B
Bruce Momjian 已提交
334
* Increase identifier length (NAMEDATALEN) if small performance hit
B
Bruce Momjian 已提交
335
* Increase maximum number of function parameters if little wasted space
B
Bruce Momjian 已提交
336
* -Populate backend status area and write program to dump status data (Jan)
B
Bruce Momjian 已提交
337
* -Put sort files in their own directory (Bruce)
B
Bruce Momjian 已提交
338
* Show location of syntax error in query [yacc]
B
Bruce Momjian 已提交
339
* Change representation of whole-tuple parameters to functions
340
* Add optional CRC checksum to heap and index pages
B
Add  
Bruce Momjian 已提交
341
* Add WAL index reliability improvement to non-btree indexes
B
Bruce Momjian 已提交
342

B
Bruce Momjian 已提交
343 344
PERFORMANCE
-----------
B
Bruce Momjian 已提交
345

B
Bruce Momjian 已提交
346
FSYNC
B
Bruce Momjian 已提交
347

B
Bruce Momjian 已提交
348
* Delay fsync() when other backends are about to commit too [fsync]
B
Bruce Momjian 已提交
349
	o Determine optimal commit_delay value
B
Bruce Momjian 已提交
350
* Determine optimal fdatasync/fsync, O_SYNC/O_DSYNC options
B
Bruce Momjian 已提交
351
	o Allow multiple blocks to be written to WAL with one write()
B
Bruce Momjian 已提交
352

B
Bruce Momjian 已提交
353 354
CACHE

B
Bruce Momjian 已提交
355
* Cache most recent query plan(s) (Karel) [prepare]
B
Bruce Momjian 已提交
356
* Shared catalog cache, reduce lseek()'s by caching table size in shared area
B
Bruce Momjian 已提交
357
* Add free-behind capability for large sequential scans (Bruce)
B
Add  
Bruce Momjian 已提交
358
* Allow binding query args over FE/BE protocol
B
Bruce Momjian 已提交
359

B
Bruce Momjian 已提交
360 361 362 363 364
VACUUM

* Improve speed with indexes (perhaps recreate index instead) [vacuum]
* Reduce lock time by moving tuples with read lock, then write
  lock and truncate table [vacuum]
B
Bruce Momjian 已提交
365 366
* -Make ANALYZE a separate command (Tom)
* -Allow ANALYZE to ESTIMATE based on certain random precentage of rows (Tom)
B
Bruce Momjian 已提交
367
* Add LAZY VACUUM (Vadim) [performance]
B
Bruce Momjian 已提交
368 369

MISCELLANEOUS
B
Bruce Momjian 已提交
370

B
Bruce Momjian 已提交
371
* -Allow compression of log and meta data (Tom)
B
Bruce Momjian 已提交
372
* Do async I/O to do better read-ahead of data
B
Bruce Momjian 已提交
373
* Experiment with multi-threaded backend [thread]
B
Bruce Momjian 已提交
374
* Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
B
Bruce Momjian 已提交
375
  when it is available
B
Bruce Momjian 已提交
376
* Use mmap() rather than SYSV shared memory(?) [mmap]
B
Bruce Momjian 已提交
377
* Use mmap() to write WAL files (?) [mmap]
B
Bruce Momjian 已提交
378
* Improve Subplan list handling
B
Bruce Momjian 已提交
379
* Allow Subplans to use efficient joins(hash, merge) with upper variable
B
Bruce Momjian 已提交
380
* Improve dynamic memory allocation by introducing tuple-context memory
B
Bruce Momjian 已提交
381
  allocation (Tom)
B
Bruce Momjian 已提交
382
* -Allow GUC configuration of maximum number of open files (Tom)
B
Bruce Momjian 已提交
383
* -Improve statistics storage in pg_class [performance] (Tom)
B
Bruce Momjian 已提交
384
* Add connection pooling [pool]
B
Bruce Momjian 已提交
385
* Allow persistent backends [persistent]
B
Bruce Momjian 已提交
386 387
* Create a transaction processor to aid in persistent connections and
  connection pooling
B
Bruce Momjian 已提交
388
* Make blind writes go through the file descriptor cache
B
Bruce Momjian 已提交
389
* Allow logging of query durations
B
Bruce Momjian 已提交
390
* Add hash for evaluating GROUP BY aggregates
B
Bruce Momjian 已提交
391
* -Read pg_hba.conf only on postmaster startup or SIGHUP (Bruce)
392 393
* Have after-change WAL write()'s write only modified data to kernel
* Reduce number of after-change WAL writes; they exist only to gaurd against
B
Bruce Momjian 已提交
394
  partial page writes
395
* Turn off after-change writes if fsync is disabled (?)
B
Bruce Momjian 已提交
396
* -Improve spinlock code [performance] (Tom)
B
Bruce Momjian 已提交
397 398 399
* Do listen() in postmaster and accept() in pre-forked backend
* Have pre-forked backend pre-connect to last requested database or pass
  file descriptor to backend pre-forked for matching database
B
Bruce Momjian 已提交
400 401
* Nested FULL OUTER JOINs don't work (Tom)
* Allow merge and hash joins on expressions not just simple variables (Tom)
B
Bruce Momjian 已提交
402 403
* Add new pg_proc cachable settings to specify whether function can be
  evaluated only once or once per query
B
Added  
Bruce Momjian 已提交
404
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
B
Add  
Bruce Momjian 已提交
405
* Make locking of shared data structures more fine-grained
B
Bruce Momjian 已提交
406

B
Bruce Momjian 已提交
407 408
SOURCE CODE
-----------
B
Bruce Momjian 已提交
409
* Add use of 'const' for variables in source tree
B
Bruce Momjian 已提交
410
* -Convert remaining fprintf(stderr,...)/perror() to elog() (Peter E)
B
Bruce Momjian 已提交
411
* Fix problems with libpq non-blocking/async code [async]
B
Bruce Momjian 已提交
412
* -Merge global and template BKI files (Tom)
B
Bruce Momjian 已提交
413
* -Fix username/password length limits in all areas, e.g. pg_passwd
B
Bruce Momjian 已提交
414
* -Remove compile-time upper limit on number of backends (MAXBACKENDS) (Tom)
B
Bruce Momjian 已提交
415
* Make sure all block numbers are unsigned to increase maximum table size
B
Bruce Momjian 已提交
416
* Use BlockNumber rather than int where appropriate
B
Bruce Momjian 已提交
417
* Merge LockMethodCtl and LockMethodTable into one shared structure (Bruce)
B
Bruce Momjian 已提交
418
* HOLDER/HOLDERTAB rename to PROCLOCK/PROCLOCKTAG (Bruce)
B
Bruce Momjian 已提交
419
* Remove LockMethodTable.prio field, not used (Bruce)
B
Bruce Momjian 已提交
420
* Add version file format stamp to heap and other table types
421
* Make elog(LOG) in WAL its own output type, distinct from DEBUG
B
Bruce Momjian 已提交
422
* Rename some /contrib modules from pg* to pg_*
B
Bruce Momjian 已提交
423
* Move some things from /contrib into main tree
B
Bruce Momjian 已提交
424
* Remove warnings created by -Wcast-align
B
Bruce Momjian 已提交
425
* Move platform-specific ps status display info from ps_status.c to ports
B
Bruce Momjian 已提交
426
* Allow ps status display to work on Solaris/SVr4-based systems
B
Bruce Momjian 已提交
427
* -Decide on spelling of indexes/indices (Peter E)
B
Bruce Momjian 已提交
428
* -Add mention of VACUUM, log rotation to Administrator's Guide (Tom, Bruce)
B
Bruce Momjian 已提交
429
* Make one version of simple_prompt() in code (Bruce, Tom)
B
Bruce Momjian 已提交
430
* Compile in syslog functionaility by default (?)
B
Bruce Momjian 已提交
431
* Modify regression tests to prevent failures do to minor numeric rounding
B
Bruce Momjian 已提交
432
* Remove USING clause from pg_get_indexdef() if index is btree (Bruce)
B
Bruce Momjian 已提交
433
* Use our own getopt() for FreeBSD/OpenBSD to allow --xxx flags (Bruce)
B
Added:  
Bruce Momjian 已提交
434
* Add OpenBSD's getpeereid() call for local socket authentication (Bruce)
B
Typo.  
Bruce Momjian 已提交
435
* Improve access-permissions check on data directory in Cygwin (Tom)
B
Added  
Bruce Momjian 已提交
436
* Report failure to find readline or zlib at end of configure run
B
Added  
Bruce Momjian 已提交
437
* Add --port flag to regression tests
438

B
Bruce Momjian 已提交
439 440 441 442 443
---------------------------------------------------------------------------


Developers who have claimed items are:
--------------------------------------
B
Bruce Momjian 已提交
444 445 446 447 448 449 450
* Billy is Billy G. Allie <Bill.Allie@mug.org>
* Bruce is Bruce Momjian<pgman@candle.pha.pa.us>
* D'Arcy is D'Arcy J.M. Cain <darcy@druid.net>
* Edmund is Edmund Mergl <E.Mergl@bawue.de>
* Hiroshi is Hiroshi Inoue <Inoue@tpf.co.jp>
* Karel is Karel Zak <zakkr@zf.jcu.cz>
* Jan is Jan Wieck <wieck@sapserv.debis.de>
B
Bruce Momjian 已提交
451
* Liam is Liam Stewart <liams@redhat.com>
B
Bruce Momjian 已提交
452 453
* Marc is Marc Fournier <scrappy@hub.org>
* Mark is Mark Hollomon <mhh@mindspring.com>
B
Bruce Momjian 已提交
454
* Marko is Marko Kreen <marko@l-t.ee>
B
Bruce Momjian 已提交
455 456 457 458 459 460 461 462 463 464 465
* Michael is Michael Meskes <meskes@postgresql.org>
* Oleg is Oleg Bartunov <oleg@sai.msu.su>
* Peter M is Peter T Mount <peter@retep.org.uk>
* Peter E is Peter Eisentraut<peter_e@gmx.net>
* Philip is Philip Warner <pjw@rhyme.com.au>
* Ross is Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
* Ryan is Ryan Bradetich <rbrad@hpb50023.boi.hp.com>
* Stephan is Stephan Szabo <sszabo@megazone23.bigpanda.com>
* Tatsuo is Tatsuo Ishii <t-ishii@sra.co.jp>
* Thomas is Thomas Lockhart <lockhart@alumni.caltech.edu>
* Tom is Tom Lane <tgl@sss.pgh.pa.us>
B
Bruce Momjian 已提交
466
* TomH is Tom I Helbekkmo <tih@Hamartun.Priv.no>
B
Bruce Momjian 已提交
467
* Vadim is Vadim B. Mikheev <vadim4o@email.com>