1997-10-17 22:30:26 +08:00
|
|
|
TODO list for PostgreSQL
|
|
|
|
========================
|
2000-07-28 10:28:08 +08:00
|
|
|
Last updated: Thu Jul 27 22:27:39 EDT 2000
|
1996-08-19 06:14:33 +08:00
|
|
|
|
1999-11-14 13:11:02 +08:00
|
|
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
1996-08-19 06:14:33 +08:00
|
|
|
|
1996-10-04 23:15:24 +08:00
|
|
|
The most recent version of this document can be viewed at
|
1999-07-13 11:07:20 +08:00
|
|
|
the PostgreSQL web site, http://www.PostgreSQL.org.
|
1996-10-04 23:15:24 +08:00
|
|
|
|
2000-06-13 15:11:35 +08:00
|
|
|
A dash(-) marks changes that will appear in the upcoming 7.1 release.
|
1998-02-02 09:20:04 +08:00
|
|
|
|
1999-09-27 11:24:50 +08:00
|
|
|
Names in brackets "[]" indicate more detailed information is available in
|
|
|
|
the directory pgsql/doc/TODO.detail/ under that name.
|
|
|
|
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1996-08-19 06:14:33 +08:00
|
|
|
RELIABILITY
|
|
|
|
-----------
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
PARSER
|
|
|
|
|
|
|
|
* SELECT pg_class FROM pg_class generates strange error
|
1999-06-07 10:42:07 +08:00
|
|
|
* Alter TABLE ADD COLUMN does not honor DEFAULT, add CONSTRAINT
|
2000-07-28 02:47:06 +08:00
|
|
|
* -Creating index of TIMESTAMP & RELTIME fails, or rename to DATETIME(Thomas)
|
2000-01-13 11:06:29 +08:00
|
|
|
* SELECT foo UNION SELECT foo is incorrectly simplified to SELECT foo
|
1999-07-10 00:56:44 +08:00
|
|
|
* Unique index on base column not honored on inserts from inherited table
|
|
|
|
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
|
1999-09-27 11:24:50 +08:00
|
|
|
[inherit]
|
1999-07-21 07:05:50 +08:00
|
|
|
* Be smarter about promoting types when UNION merges different data types
|
1999-07-21 05:43:18 +08:00
|
|
|
* redesign INSERT ... SELECT to have two levels of target list
|
1999-08-05 09:53:35 +08:00
|
|
|
* have INTERSECT/EXCEPT prevent duplicates unless ALL is specified
|
2000-01-16 15:05:35 +08:00
|
|
|
* SELECT col::DECIMAL(12,10); fails
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
VIEWS
|
|
|
|
|
|
|
|
* Views containing aggregates sometimes fail(Jan)
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>PostgreSQL TODO list</TITLE>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#A00000"\
ALINK="#0000FF">
<META NAME="generator" CONTENT="txt2html v1.25">
</HEAD>
<BODY>
<H1><A NAME="section-1">TODO list for PostgreSQL</A></H1>
Last updated: Tue Sep 28 00:34:21 EDT 1999
<P>
Current maintainer: Bruce Momjian (<A HREF="mailto:maillist@candle.pha.pa.us">maillist@candle.pha.pa.us</A>)
<P>
The most recent version of this document can be viewed at<BR>
the PostgreSQL web site, <A HREF="http://www.PostgreSQL.org">http://www.PostgreSQL.org</A>.
<P>
A dash(-) marks changes that will appear in the next release.
<P>
Names in brackets "[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/"></A>]" indicate more detailed information is available in<BR>
the directory pgsql/doc/TODO.detail/ under that name.
<H2><A NAME="section-1.1">RELIABILITY</A></H2>
<P>
<STRONG>RESOURCES</STRONG>
<UL>
<LI> Elog() does not free all its memory(Jan)
<LI> spinlock stuck problem when elog(FATAL) and elog(ERROR) inside bufmgr
<LI> Recover or force failure when disk space is exhausted
</UL>
<P>
<STRONG>PARSER</STRONG>
<UL>
<LI> Disallow inherited columns with the same name as new columns
<LI> INSERT INTO ... SELECT with AS columns matching result columns problem
<LI> SELECT pg<U>class FROM pg</U>class generates strange error
<LI> Alter TABLE ADD COLUMN does not honor DEFAULT, add CONSTRAINT
<LI> Do not allow bpchar column creation without length
<LI> -Select a[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/1">1</A>] FROM test fails, it needs test.a[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/1">1</A>]
<LI> -Array index references without table name cause problems [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/array">array</A>]
<LI> Update table SET table.value = 3 fails(SQL standard says this is OK)
<LI> Creating index of TIMESTAMP & RELTIME fails, or rename to DATETIME(Thomas)
<LI> SELECT foo UNION SELECT foo is incorrectly simplified to SELECT foo
<LI> -INSERT ... SELECT ... GROUP BY groups by target columns not source columns
<LI> -CREATE TABLE test (a char(5) DEFAULT text '', b int4) fails on INSERT
<LI> UNION with LIMIT fails
<LI> Unique index on base column not honored on inserts from inherited table
INSERT INTO inherit_table (unique<U>index</U>col) VALUES (dup) should fail
[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/inherit">inherit</A>]
<LI> CREATE TABLE x AS SELECT 1 UNION SELECT 2 fails
<LI> CREATE TABLE test(col char(2) DEFAULT user) fails in length restriction
<LI> mismatched types in CREATE TABLE ... DEFAULT causes problems [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/default">default</A>]
<LI> SELECT ... UNION ... ORDER BY fails when sort expr not in result list
<LI> Be smarter about promoting types when UNION merges different data types
<LI> SELECT ... UNION ... GROUP BY fails if column types disagree
<LI> redesign INSERT ... SELECT to have two levels of target list
<LI> -select * from pg_class where oid in (0,-1)
<LI> have INTERSECT/EXCEPT prevent duplicates unless ALL is specified
<LI> prevent primary key of nine columns [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/primary">primary</A>]
<LI> SELECT COUNT('asdf') FROM pg_class WHERE oid=12 crashes
<LI> SELECT DISTINCT ON col1 col1 col2 FROM tab1 is broken [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/distinct">distinct</A>]
<LI> -When using aggregates + GROUP BY, no rows in should yield no rows out
</UL>
<P>
<STRONG>VIEWS</STRONG>
<UL>
<LI> Views containing aggregates sometimes fail(Jan)
<LI> Views with spaces in view name fail when referenced
<LI> Creating view and inheriting the view causes view* to show
duplicates(inherit)
</UL>
<P>
<STRONG>MISC</STRONG>
<UL>
<LI> User who can create databases can modify pg_database table
<LI> Plpgsql does not handle quoted mixed-case identifiers
<LI> Fix btree to give a useful elog when key > 1/2 (page - overhead)
<LI> pg_dump should preserve primary key information
<LI> plpgsql regression tests fail on BSD/OS
</UL>
<H2><A NAME="section-1.2">ENHANCEMENTS</A></H2>
<P>
<STRONG>URGENT</STRONG>
<UL>
<LI> Add referential integrity(Jan?)[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/primary">primary</A>]
<LI> Add OUTER joins, left and right[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/outer">outer</A>](Thomas, Bruce)
<LI> Allow long tuples by chaining or auto-storing outside db (chaining,large objs)
<LI> Eliminate limits on query length
<LI> Fix memory leak for expressions?[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/memory">memory</A>](Tom?)
<LI> -Fix memory leak for aggregates?
</UL>
<P>
<STRONG>ADMIN</STRONG>
<UL>
<LI> Better interface for adding to pg_group
<LI> More access control over who can create tables and access the database
<LI> Test syslog functionality
<LI> Allow elog() to return error codes, not just messages
<LI> Allow international error message support and add error codes
<LI> Generate postmaster pid file and remove flock/fcntl lock code [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/flock">flock</A>]
<LI> Add ability to specifiy location of lock/socket files [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/flock">flock</A>]
</UL>
<P>
<STRONG>TYPES</STRONG>
<UL>
<LI> Add BIT, BIT VARYING
<LI> Nchar (as distinguished from ordinary varchar),
<LI> Domain capability
<LI> Add STDDEV/VARIANCE() function for standard deviation computation/variance
<LI> Allow compression of large fields or a compressed field type
<LI> Large objects
<UL>
<LI> Fix large object mapping scheme, own typeid or reltype(Peter)
<LI> Allow large text type to use large objects(Peter)
<LI> Not to stuff everything as files in a single directory, hash dirs
<LI> Allow large object vacuuming
<LI> Tables that start with xinv confused to be large objects
</UL>
<LI> Allow pg_descriptions when creating types, tables, columns, and functions
<LI> Add IPv6 capability to INET/CIDR types
<LI> Make a separate SERIAL type?
<LI> Store binary-compatible type information in the system
<LI> Allow user to define char1 column
<LI> Add support for & operator
<LI> Allow LOCALE on a per-column basis, default to ASCII
<LI> Allow array on int8[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/"></A>]
<LI> Allow nulls in arrays
<LI> Allow arrays to be ORDER'ed
<LI> Remove Money type, add money formatting for decimal type
<LI> Declare typein/out functions in pg_proc with a special "C string" data type
<LI> Add non-large-object binary field
<LI> Add index on NUMERIC/DECIMAL type
<LI> Make Absolutetime/Relativetime int4 because time_t can be int8 on some ports
<LI> Functions returning sets don't really work right[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/function">function</A>]
</UL>
<P>
<STRONG>VIEWS</STRONG>
<UL>
<LI> Allow DISTINCT on views
<LI> Allow views of aggregate columns
<LI> Allow views with subselects
</UL>
<P>
<STRONG>INDEXES</STRONG>
<UL>
<LI> Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
fails index can't store constant parameters
<LI> Allow creation of functional indexes to use default types
<LI> Permissions on indexes - prevent them?
<LI> Allow SQL function indexes
<LI> Add FILLFACTOR to index creation
<LI> Allow indexing of LIKE with localle character sets
<LI> Allow indexing of more than eight columns
</UL>
<P>
<STRONG>COMMANDS</STRONG>
<UL>
<LI> ALTER TABLE ADD COLUMN to inherited table put column in wrong place [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/inherit">inherit</A>]
<LI> Add ALTER TABLE DROP/ALTER COLUMN feature
<LI> Allow CLUSTER on all tables at once, and improve CLUSTER, loses NOT
<P>
NULL specification on table [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/cluster">cluster</A>]
<LI> Add SIMILAR TO to allow character classes, 'pg_[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/a-c">a-c</A>]%'
<LI> Auto-destroy sequence on DROP of table with SERIAL(Ryan)
<LI> Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison
<LI> Allow INSERT/UPDATE of system-generated oid value for a row
<LI> Allow ESCAPE '\' at the end of LIKE for ANSI compliance [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/like">like</A>]
<LI> Rewrite the LIKE handling by rewriting the user string with the
supplied ESCAPE [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/like">like</A>]
<LI> -Move LIKE index optimization handling to the optimizer
<LI> Allow RULE recompilation
<LI> Support UNION/INTERSECT/EXCEPT in sub-selects
<LI> Allow DELETE and UPDATE to use inheritance using tablename*
</UL>
<P>
<STRONG>CLIENTS</STRONG>
<UL>
<LI> Make NULL's come out at the beginning or end depending on the
ORDER BY direction
<LI> Allow flag to control COPY input/output of NULLs
<LI> Update reltuples from COPY command
<LI> Allow psql \copy to allow delimiters
<LI> Add a function to return the last inserted oid, for use in psql scripts
<LI> Allow psql to print nulls as distinct from "" [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/null">null</A>]
</UL>
<P>
<STRONG>EXOTIC FEATURES</STRONG>
<UL>
<LI> Add sql3 recursive unions
<LI> Add the concept of dataspaces
<LI> Add replication of distributed databases
<LI> Allow queries across multiple databases
</UL>
<P>
<STRONG>MISC</STRONG>
<UL>
<LI> Increase identifier length(NAMEDATALEN) if small performance hit
<LI> Allow row re-use without vacuum(Vadim)
<LI> Create a background process for each database that runs while
database is idle, finding superceeded rows, gathering stats and vacuuming
<LI> Add UNIQUE capability to non-btree indexes
<LI> -Certain indexes will not shrink, i.e. oid indexes with many inserts
<LI> Restore unused oid's on backend exit if no one else has gotten oids
<LI> Have UPDATE/DELETE clean out indexes
<LI> Allow WHERE restriction on ctid
<LI> Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
<LI> Allow PQrequestCancel() to terminate when in waiting-for-lock state
<LI> -Transaction log, so re-do log can be on a separate disk by
with after-row images(Vadim) [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/logging">logging</A>]
<LI> Populate backend status area and write program to dump status data
<LI> Make oid use unsigned int more reliably, pg_atoi()
<LI> Allow subqueries in target list
<LI> Put sort files, large objects in their own directory
<LI> Do autocommit so always in a transaction block(?)
<LI> Show location of syntax error in query [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/yacc">yacc</A>]
<LI> Redesign the function call interface to handle NULLs better [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/function">function</A>]
<LI> Document/trigger/rule so changes to pg<U>shadow recreate pg</U>pwd [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/pg_shadow">pg_shadow</A>]
<LI> Missing optimizer selectivities for date, r-tree, etc. [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/optimizer">optimizer</A>]
<LI> Overhaul mdmgr/smgr to fix double unlinking and double opens, cleanup
<LI> Overhaul bufmgr/lockmgr/transaction manager
<LI> Add PL/Perl(Mark Hollomon)
<LI> Make postgres user have a password by default
<LI> Add configure test to check for C++ need for *.h and namespaces
<LI> Allow BLCKSZ <= 64k, not <= 32k
<LI> redesign UNION structures to have separarate target lists
<LI> Allow multi-level query trees for INSERT INTO ... SELECT
</UL>
<H2><A NAME="section-1.3">PERFORMANCE</A></H2>
<P>
<STRONG>FSYNC</STRONG>
<UL>
<LI> -Allow transaction commits with rollback with no-fsync performance [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/fsync">fsync</A>]
<LI> -Prevent fsync in SELECT-only queries
</UL>
<P>
<STRONG>INDEXES</STRONG>
<UL>
<LI> Use indexes in ORDER BY for restrictive data sets, min(), max()
<LI> Pull requested data directly from indexes, bypassing heap data
<LI> Use index to restrict rows returned by multi-key index when used with
non-consecutive keys or OR clauses, so fewer heap accesses
<LI> -Convert function(constant) into a constant for index use
<LI> Allow LIMIT ability on single-table queries that have no ORDER BY to use
a matching index [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/limit">limit</A>]
<LI> Improve LIMIT processing by using index to limit rows processed [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/limit">limit</A>]
<LI> Have optimizer take LIMIT into account when considering index scans [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/limit">limit</A>]
<LI> Make index creation use psort code, because it is now faster(Vadim)
<LI> Allow creation of sort temp tables > 1 Gig
<LI> Create more system table indexes for faster cache lookups
<LI> fix indexscan() so it does leak memory by not requiring caller to free
<LI> Improve <U>bt</U>binsrch() to handle equal keys better, remove <U>bt</U>firsteq()(Tom)
<LI> Allow SELECT * FROM tab WHERE int2col = 4 use int2col index, int8,
float4, numeric/decimal too [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/optimizer">optimizer</A>]
<LI> -Allow optimizer to prefer plans that match ORDER BY
</UL>
<P>
<STRONG>CACHE</STRONG>
<UL>
<LI> Cache most recent query plan(s) [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/prepare">prepare</A>]
<LI> Shared catalog cache, reduce lseek()'s by caching table size in shared area
<LI> elog() flushes cache, try invalidating just entries from current xact,
perhaps using invalidation cache
</UL>
<P>
<STRONG>MISC</STRONG>
<UL>
<LI> Allow compression of log and meta data
<LI> Allow char() not to use variable-sized header to reduce disk size
<LI> Do async I/O to do better read-ahead of data
<LI> -Fix memory exhaustion when using many OR's [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/cnfify">cnfify</A>]
<LI> Get faster regex() code from Henry Spencer <<A HREF="mailto:henry@zoo.utoronto.ca">henry@zoo.utoronto.ca</A>>
when it is available
<LI> Use mmap() rather than SYSV shared memory(?)
<LI> -Process const = const parts of OR clause in separate pass
<LI> Make oid use oidin/oidout not int4in/int4out in pg_type.h
<LI> Improve Subplan list handling
<LI> Allow Subplans to use efficient joins(hash, merge) with upper variable
[<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/subquery">subquery</A>]
<LI> use fmgr_info()/fmgr_faddr() instead of fmgr() calls in high-traffic
places, like GROUP BY, UNIQUE, index processing, etc.
<LI> improve dynamic memory allocation by introducing tuple-context memory
allocation [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/memory">memory</A>]
<LI> fix memory leak in cache code when non-existant table is referenced
<LI> In WHERE tab1.x=3 AND tab1.x=tab2.y, add tab2.y=3
<LI> pass atttypmod through parser in more cases [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/atttypmod">atttypmod</A>]
<LI> remove duplicate type in/out functions for disk and net
<LI> Allow persistent backends [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/persistent">persistent</A>]
<LI> Misc [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/performance">performance</A>]
</UL>
<H2><A NAME="section-1.4">SOURCE CODE</A></H2>
<UL>
<LI> Add use of 'const' for varibles in source tree
<LI> Fix C optimizer problem where fmgr_ptr calls return different types [<A HREF="http://www.postgresql.org/docs/pgsql/doc/TODO.detail/alpha">alpha</A>]
<LI> -Add needed includes and removed unneeded include files(Bruce)
<LI> Make configure --enable-debug add -g on compile line
<LI> Does Mariposa source contain any other bug fixes?
<LI> Remove SET KSQO option if OR processing is improved(Tom)
</UL>
<HR>
<H3><A NAME="section-1.4.1">Developers who have claimed items are:</A></H3>
<UL>
<LI> Billy is Billy G. Allie <<A HREF="mailto:Bill.Allie@mug.org">Bill.Allie@mug.org</A>>
<LI> Brook is Brook Milligan <<A HREF="mailto:brook@trillium.NMSU.Edu">brook@trillium.NMSU.Edu</A>>
<LI> Bruce is Bruce Momjian<<A HREF="mailto:maillist@candle.pha.pa.us">maillist@candle.pha.pa.us</A>>
<LI> Bryan is Bryan Henderson<<A HREF="mailto:bryanh@giraffe.netgate.net">bryanh@giraffe.netgate.net</A>>
<LI> D'Arcy is D'Arcy J.M. Cain <<A HREF="mailto:darcy@druid.net">darcy@druid.net</A>>
<LI> David is David Hartwig <<A HREF="mailto:daveh@insightdist.com">daveh@insightdist.com</A>>
<LI> Edmund is Edmund Mergl <<A HREF="mailto:E.Mergl@bawue.de">E.Mergl@bawue.de</A>>
<LI> Goran is Goran Thyni <<A HREF="mailto:goran@kyla.kiruna.se">goran@kyla.kiruna.se</A>>
<LI> Hiroshi is Hiroshi Inoue<<A HREF="mailto:Inoue@tpf.co.jp">Inoue@tpf.co.jp</A>>
<LI> Jan is Jan Wieck <<A HREF="mailto:wieck@sapserv.debis.de">wieck@sapserv.debis.de</A>>
<LI> Marc is Marc Fournier <<A HREF="mailto:scrappy@hub.org">scrappy@hub.org</A>>
<LI> Massimo Dal Zotto <<A HREF="mailto:dz@cs.unitn.it">dz@cs.unitn.it</A>>
<LI> Michael is Michael Meskes <<A HREF="mailto:meskes@postgresql.org">meskes@postgresql.org</A>>
<LI> Oleg is Oleg Bartunov <<A HREF="mailto:oleg@sai.msu.su">oleg@sai.msu.su</A>>
<LI> Peter is Peter T Mount <<A HREF="mailto:peter@retep.org.uk">peter@retep.org.uk</A>>
<LI> Ryan is Ryan Bradetich <<A HREF="mailto:rbrad@hpb50023.boi.hp.com">rbrad@hpb50023.boi.hp.com</A>>
<LI> Stefan Simkovics <<A HREF="mailto:ssimkovi@rainbow.studorg.tuwien.ac.at">ssimkovi@rainbow.studorg.tuwien.ac.at</A>>
<LI> Tatsuo is Tatsuo Ishii <<A HREF="mailto:t-ishii@sra.co.jp">t-ishii@sra.co.jp</A>>
<LI> Tom is Tom Lane <<A HREF="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</A>>
<LI> Thomas is Thomas Lockhart <<A HREF="mailto:lockhart@alumni.caltech.edu">lockhart@alumni.caltech.edu</A>>
<LI> TomH is Tom I Helbekkmo <<A HREF="mailto:tih@Hamartun.Priv.NO">tih@Hamartun.Priv.NO</A>>
<LI> Vadim is "Vadim B. Mikheev" <<A HREF="mailto:vadim@krs.ru">vadim@krs.ru</A>>
</UL>
</BODY>
</HTML>
1999-09-29 03:56:49 +08:00
|
|
|
* Creating view and inheriting the view causes view* to show
|
|
|
|
duplicates(inherit)
|
2000-09-12 12:33:18 +08:00
|
|
|
* -Disallow LOCK on view(Mark Hollomon)
|
1999-06-05 11:43:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
MISC
|
|
|
|
|
|
|
|
* Plpgsql does not handle quoted mixed-case identifiers
|
2000-01-13 11:06:29 +08:00
|
|
|
* Buffer reference counting bugfixes
|
|
|
|
* Fix libpq bug that causes it to drop backend error message sent
|
2000-01-28 12:47:49 +08:00
|
|
|
just before connection closure (ie, any FATAL error message)
|
|
|
|
* SELECT ... UNION ... ORDER BY fails when sort expr not in result list
|
2000-01-30 01:25:46 +08:00
|
|
|
* SELECT ... UNION ... GROUP BY fails if column types disagree, no type
|
|
|
|
promotion occurs
|
2000-02-05 06:41:28 +08:00
|
|
|
* Modification of pg_class can happen while table in use by
|
|
|
|
another backend. Might lead to MVCC inside of syscache
|
2000-03-10 07:22:18 +08:00
|
|
|
* Permission to UPDATE table allows DELETE also
|
2000-04-28 22:44:47 +08:00
|
|
|
|
1996-08-19 06:14:33 +08:00
|
|
|
ENHANCEMENTS
|
|
|
|
------------
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
URGENT
|
|
|
|
|
2000-10-03 00:15:53 +08:00
|
|
|
* -Add OUTER joins, left and right[outer](Tom, Thomas)
|
2000-01-11 20:11:20 +08:00
|
|
|
* Allow long tuples by chaining or auto-storing outside db (TOAST)(Jan)
|
1999-10-06 21:36:50 +08:00
|
|
|
* Fix memory leak for expressions[memory](Tom?)
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
ADMIN
|
|
|
|
|
2000-07-28 02:47:06 +08:00
|
|
|
* -More access control over who can create tables and use locks(Karel)
|
|
|
|
* -Test syslog functionality
|
1999-06-07 10:42:07 +08:00
|
|
|
* Allow elog() to return error codes, not just messages
|
|
|
|
* Allow international error message support and add error codes
|
2000-07-28 02:47:06 +08:00
|
|
|
* -Unify configuration into one configuration file (Peter E)
|
|
|
|
* -use setproctitle() if it exists for 'ps' display of status
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
TYPES
|
|
|
|
|
1999-06-07 10:42:07 +08:00
|
|
|
* Nchar (as distinguished from ordinary varchar),
|
|
|
|
* Domain capability
|
2000-07-17 21:23:18 +08:00
|
|
|
* -Add STDDEV/VARIANCE() function for standard deviation computation/variance
|
2000-01-13 11:06:29 +08:00
|
|
|
* Allow compression of large fields or a compressed field type
|
1997-10-17 22:30:26 +08:00
|
|
|
* Large objects
|
1999-07-07 04:41:22 +08:00
|
|
|
o Fix large object mapping scheme, own typeid or reltype(Peter)
|
1999-07-08 08:00:43 +08:00
|
|
|
o Not to stuff everything as files in a single directory, hash dirs
|
|
|
|
o Allow large object vacuuming
|
1999-07-09 11:28:53 +08:00
|
|
|
o Tables that start with xinv confused to be large objects
|
1999-06-07 10:42:07 +08:00
|
|
|
* Add IPv6 capability to INET/CIDR types
|
2000-07-28 03:11:47 +08:00
|
|
|
* Fix improper masking of some inet/cidr types [cidr]
|
1999-06-07 10:42:07 +08:00
|
|
|
* Make a separate SERIAL type?
|
|
|
|
* Store binary-compatible type information in the system
|
|
|
|
* Add support for & operator
|
1999-07-07 04:41:22 +08:00
|
|
|
* Allow LOCALE on a per-column basis, default to ASCII
|
1999-09-14 10:19:38 +08:00
|
|
|
* Allow nulls in arrays
|
1999-09-28 10:57:55 +08:00
|
|
|
* Allow arrays to be ORDER'ed
|
1999-07-07 04:41:22 +08:00
|
|
|
* Remove Money type, add money formatting for decimal type
|
1999-07-08 11:22:46 +08:00
|
|
|
* Declare typein/out functions in pg_proc with a special "C string" data type
|
1999-07-08 10:46:39 +08:00
|
|
|
* Add non-large-object binary field
|
1999-09-27 11:24:50 +08:00
|
|
|
* Functions returning sets don't really work right[function]
|
2000-07-28 02:51:40 +08:00
|
|
|
* -Add hash for int8 (Tom)
|
2000-05-14 09:29:07 +08:00
|
|
|
* SELECT col FROM tab WHERE numeric_col = 10.1 fails
|
2000-06-09 00:20:01 +08:00
|
|
|
* Get BIT type working
|
2000-06-14 11:30:49 +08:00
|
|
|
* Allow better handling of numeric constants, type conversion [typeconv]
|
2000-06-14 10:57:08 +08:00
|
|
|
* Support multiple simultaneous character sets, per SQL92
|
2000-06-15 21:54:51 +08:00
|
|
|
* Reject character sequences those are not valid in their charset
|
|
|
|
* Make functions more multi-byte aware, i.e. trim()
|
|
|
|
* Make n of CHAR(n)/VARCHAR(n) the number of letters, not bytes
|
2000-07-28 00:53:21 +08:00
|
|
|
* Update macaddr manufacturer numbers, or remove the function macaddr_manuf()
|
2000-07-28 02:51:40 +08:00
|
|
|
* Add btree index support for reltime, tinterval, regproc, bit, varbit
|
|
|
|
* Add rtree index support for line, lseg, path, point
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
VIEWS
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-06-05 11:43:07 +08:00
|
|
|
* Allow DISTINCT on views
|
1998-02-28 06:01:58 +08:00
|
|
|
* Allow views of aggregate columns
|
1999-06-07 10:42:07 +08:00
|
|
|
* Allow views with subselects
|
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
INDEXES
|
1999-06-07 10:42:07 +08:00
|
|
|
|
|
|
|
* Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
|
1999-07-07 04:41:22 +08:00
|
|
|
fails index can't store constant parameters
|
1999-06-07 10:42:07 +08:00
|
|
|
* Allow SQL function indexes
|
|
|
|
* Add FILLFACTOR to index creation
|
2000-07-07 09:31:16 +08:00
|
|
|
* Re-enable partial indexes
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
COMMANDS
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-09-27 11:24:50 +08:00
|
|
|
* ALTER TABLE ADD COLUMN to inherited table put column in wrong place [inherit]
|
2000-07-28 02:47:06 +08:00
|
|
|
* -Add ALTER TABLE ALTER COLUMN feature(Peter E)
|
|
|
|
* Add ALTER TABLE DROP COLUMN feature [drop]
|
2000-05-06 09:05:10 +08:00
|
|
|
* Add ALTER TABLE command to change table ownership
|
1999-09-22 05:17:42 +08:00
|
|
|
* Allow CLUSTER on all tables at once, and improve CLUSTER, loses NOT
|
2000-05-13 00:33:29 +08:00
|
|
|
NULL specification, indexes, permissions, etc on table
|
1999-06-07 10:42:07 +08:00
|
|
|
* Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
|
1999-07-07 17:11:15 +08:00
|
|
|
* Auto-destroy sequence on DROP of table with SERIAL(Ryan)
|
2000-06-02 03:12:30 +08:00
|
|
|
* Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison [lock]
|
1999-06-07 10:42:07 +08:00
|
|
|
* Allow INSERT/UPDATE of system-generated oid value for a row
|
1999-09-27 11:24:50 +08:00
|
|
|
* Allow ESCAPE '\' at the end of LIKE for ANSI compliance [like]
|
1999-06-07 10:42:07 +08:00
|
|
|
* Rewrite the LIKE handling by rewriting the user string with the
|
1999-09-27 11:24:50 +08:00
|
|
|
supplied ESCAPE [like]
|
1999-07-09 12:20:22 +08:00
|
|
|
* Allow RULE recompilation
|
1999-08-18 23:11:52 +08:00
|
|
|
* Support UNION/INTERSECT/EXCEPT in sub-selects
|
2000-07-28 02:47:06 +08:00
|
|
|
* -Allow DELETE and UPDATE to use inheritance
|
2000-02-28 03:04:06 +08:00
|
|
|
* Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
|
2000-04-29 10:27:21 +08:00
|
|
|
* Allow BINARY option to SELECT, like we do with DECLARE
|
2000-06-09 00:03:12 +08:00
|
|
|
* Prevent truncate on table with a referential integrity trigger
|
2000-06-12 09:12:26 +08:00
|
|
|
* MOVE 0 should not move to end of cursor
|
2000-06-14 10:25:02 +08:00
|
|
|
* Overhaul ACL (access control) code
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
CLIENTS
|
|
|
|
|
1999-06-07 10:42:07 +08:00
|
|
|
* Make NULL's come out at the beginning or end depending on the
|
1999-07-07 04:41:22 +08:00
|
|
|
ORDER BY direction
|
1999-06-05 11:43:07 +08:00
|
|
|
* Update reltuples from COPY command
|
2000-01-13 21:22:05 +08:00
|
|
|
* fix array handling for ECPG
|
2000-01-21 11:55:22 +08:00
|
|
|
* add pg_dump option to dump type names as standard ANSI types
|
2000-07-28 02:50:37 +08:00
|
|
|
* -make pg_dump dump in oid order, so dependencies are resolved (Philip)
|
2000-04-18 00:35:23 +08:00
|
|
|
* allow psql \d to show primary and foreign keys
|
2000-04-20 04:50:34 +08:00
|
|
|
* allow psql \d to show temporary table schema
|
1999-06-07 10:42:07 +08:00
|
|
|
|
2000-04-29 03:15:49 +08:00
|
|
|
REFERENTIAL INTEGRITY
|
|
|
|
|
|
|
|
* Add MATCH PARTIAL referential integrity
|
|
|
|
* Foreign key does not check that columns referenced form a primary key
|
|
|
|
or constrained by UNIQUE
|
|
|
|
* Check that primary key exists at foreign key definition time
|
|
|
|
* Prevent column dropping if column is used by foreign key
|
|
|
|
* Propagate column or table renaming to foreign key constraints
|
|
|
|
* Emit a warning at foreign key creation time if no UNIQUE index
|
|
|
|
exists on referenced primary key attributes
|
2000-06-11 06:12:18 +08:00
|
|
|
* Add deferred trigger queue file (Jan)
|
2000-07-07 11:24:09 +08:00
|
|
|
* Allow oid to act as a foreign key
|
2000-04-29 03:15:49 +08:00
|
|
|
|
1999-07-09 11:28:53 +08:00
|
|
|
EXOTIC FEATURES
|
|
|
|
|
|
|
|
* Add sql3 recursive unions
|
2000-06-10 01:31:25 +08:00
|
|
|
* Add the concept of dataspaces/tablespaces [tablespaces]
|
2000-06-02 03:46:29 +08:00
|
|
|
* Add replication of distributed databases [replication]
|
1999-07-09 11:28:53 +08:00
|
|
|
* Allow queries across multiple databases
|
2000-04-29 03:15:49 +08:00
|
|
|
* Allow nested transactions (Vadim)
|
2000-07-28 10:28:08 +08:00
|
|
|
* Allow INSERT/UPDATE to return new.col or old.col (Philip)
|
2000-09-30 10:20:53 +08:00
|
|
|
* SQL*Net listener that makes PostgreSQL appear as an Oracle database
|
|
|
|
to clients
|
1999-07-09 11:28:53 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
MISC
|
|
|
|
|
1999-06-05 11:43:07 +08:00
|
|
|
* Increase identifier length(NAMEDATALEN) if small performance hit
|
1999-07-07 17:11:15 +08:00
|
|
|
* Allow row re-use without vacuum(Vadim)
|
|
|
|
* Create a background process for each database that runs while
|
|
|
|
database is idle, finding superceeded rows, gathering stats and vacuuming
|
1999-06-07 10:42:07 +08:00
|
|
|
* Add UNIQUE capability to non-btree indexes
|
2000-02-22 22:08:12 +08:00
|
|
|
* Certain indexes will not shrink, i.e. oid indexes with many inserts(Vadim)
|
1999-06-07 10:42:07 +08:00
|
|
|
* Restore unused oid's on backend exit if no one else has gotten oids
|
|
|
|
* Have UPDATE/DELETE clean out indexes
|
|
|
|
* Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
|
2000-01-10 12:23:58 +08:00
|
|
|
* Allow DELETE WHERE CURRENT OF cursor
|
2000-01-11 20:11:20 +08:00
|
|
|
* Transaction log, so re-do log can be on a separate disk by
|
|
|
|
with after-row images(Vadim) [logging](Vadim)(in-progress)
|
1999-06-07 10:42:07 +08:00
|
|
|
* Populate backend status area and write program to dump status data
|
|
|
|
* Make oid use unsigned int more reliably, pg_atoi()
|
1999-09-21 00:25:33 +08:00
|
|
|
* Put sort files, large objects in their own directory
|
|
|
|
* Do autocommit so always in a transaction block(?)
|
1999-09-27 11:24:50 +08:00
|
|
|
* Show location of syntax error in query [yacc]
|
2000-01-13 11:06:29 +08:00
|
|
|
* Redesign the function call interface to handle NULLs better[function](Tom)
|
1999-09-27 11:24:50 +08:00
|
|
|
* Missing optimizer selectivities for date, r-tree, etc. [optimizer]
|
1999-07-07 04:41:22 +08:00
|
|
|
* Overhaul bufmgr/lockmgr/transaction manager
|
1999-07-10 01:40:31 +08:00
|
|
|
* Allow BLCKSZ <= 64k, not <= 32k
|
1999-07-21 01:16:25 +08:00
|
|
|
* redesign UNION structures to have separarate target lists
|
1999-09-17 23:49:24 +08:00
|
|
|
* Allow multi-level query trees for INSERT INTO ... SELECT
|
2000-05-05 12:06:18 +08:00
|
|
|
* Use IPC_EXCL when creating shared memory and semaphores
|
2000-05-06 06:25:20 +08:00
|
|
|
* have pg_upgrade use pg_ctl to stop/start postmaster
|
2000-05-07 04:21:08 +08:00
|
|
|
* Encrpyt passwords in pg_shadow table using MD5
|
2000-07-05 12:39:07 +08:00
|
|
|
* Use flock() to prevent multiple postmasters on the same port [flock]
|
1996-10-04 23:15:24 +08:00
|
|
|
|
|
|
|
PERFORMANCE
|
|
|
|
-----------
|
1999-07-07 04:41:22 +08:00
|
|
|
|
|
|
|
FSYNC
|
|
|
|
|
2000-06-01 09:34:02 +08:00
|
|
|
* Allow transaction commits with rollback with no-fsync performance
|
|
|
|
[fsync] (Vadim)
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
INDEXES
|
|
|
|
|
2000-06-02 03:46:29 +08:00
|
|
|
* Use indexes to find min() and max()
|
1999-06-07 10:42:07 +08:00
|
|
|
* Use index to restrict rows returned by multi-key index when used with
|
1999-07-07 04:41:22 +08:00
|
|
|
non-consecutive keys or OR clauses, so fewer heap accesses
|
1999-09-27 23:21:36 +08:00
|
|
|
* Allow SELECT * FROM tab WHERE int2col = 4 use int2col index, int8,
|
|
|
|
float4, numeric/decimal too [optimizer]
|
1999-11-30 10:14:13 +08:00
|
|
|
* Include heap CTID in btree index keys, remove equal-key cruft from btree
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
CACHE
|
|
|
|
|
2000-06-15 01:01:35 +08:00
|
|
|
* Cache most recent query plan(s) (Karel) [prepare]
|
1997-10-17 22:30:26 +08:00
|
|
|
* Shared catalog cache, reduce lseek()'s by caching table size in shared area
|
1999-06-07 10:42:07 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
MISC
|
|
|
|
|
1997-10-17 22:30:26 +08:00
|
|
|
* Allow compression of log and meta data
|
1998-03-21 13:28:27 +08:00
|
|
|
* Allow char() not to use variable-sized header to reduce disk size
|
|
|
|
* Do async I/O to do better read-ahead of data
|
|
|
|
* Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
|
1999-07-07 04:41:22 +08:00
|
|
|
when it is available
|
1999-06-07 10:42:07 +08:00
|
|
|
* Use mmap() rather than SYSV shared memory(?)
|
|
|
|
* Make oid use oidin/oidout not int4in/int4out in pg_type.h
|
1999-06-05 11:43:07 +08:00
|
|
|
* Improve Subplan list handling
|
1999-06-07 10:42:07 +08:00
|
|
|
* Allow Subplans to use efficient joins(hash, merge) with upper variable
|
1999-09-28 01:05:08 +08:00
|
|
|
[subquery]
|
1999-07-07 17:11:15 +08:00
|
|
|
* use fmgr_info()/fmgr_faddr() instead of fmgr() calls in high-traffic
|
|
|
|
places, like GROUP BY, UNIQUE, index processing, etc.
|
|
|
|
* improve dynamic memory allocation by introducing tuple-context memory
|
1999-09-27 11:24:50 +08:00
|
|
|
allocation [memory]
|
2000-02-22 22:08:12 +08:00
|
|
|
* In WHERE tab1.x=3 AND tab1.x=tab2.y, add tab2.y=3
|
1999-09-27 11:24:50 +08:00
|
|
|
* Allow persistent backends [persistent]
|
2000-02-28 17:24:47 +08:00
|
|
|
* prevent labels from being output for stored rules (Tom)
|
|
|
|
* allow configuration of maximum number of open files
|
2000-05-14 10:53:49 +08:00
|
|
|
* Remove pg_listener index
|
2000-05-26 00:10:01 +08:00
|
|
|
* Remove ANALYZE from VACUUM so it can be run separately without locks
|
2000-10-02 11:27:33 +08:00
|
|
|
* Gather more accurate disbursion statistics using indexes
|
2000-06-01 09:34:02 +08:00
|
|
|
* Improve statistics storage in pg_class [performance]
|
2000-06-02 23:57:44 +08:00
|
|
|
* Improve VACUUM speed with indexes [vacuum]
|
2000-07-28 02:48:28 +08:00
|
|
|
* -BSD/OS does not support locale because there is no LC_MESSAGES (Bruce)
|
2000-04-28 22:44:47 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
SOURCE CODE
|
|
|
|
-----------
|
1999-11-10 09:22:37 +08:00
|
|
|
* Add use of 'const' for variables in source tree
|
2000-06-13 15:11:35 +08:00
|
|
|
* -Fix C optimizer problem where fmgr_ptr calls return different types (Tom)
|
1999-09-17 09:57:36 +08:00
|
|
|
* Does Mariposa source contain any other bug fixes?
|
2000-04-29 03:15:49 +08:00
|
|
|
* Remove SET KSQO option now that OR processing is improved(Tom)
|
2000-06-02 23:57:44 +08:00
|
|
|
* -Use macros to define NT open() file parameters, remove NT-specific defines
|
2000-06-13 15:11:35 +08:00
|
|
|
* -Change CURRENT to OLD internally for rules (Bruce)
|
1999-12-14 08:17:33 +08:00
|
|
|
|
1999-07-07 04:41:22 +08:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
Developers who have claimed items are:
|
|
|
|
--------------------------------------
|
|
|
|
* Billy is Billy G. Allie <Bill.Allie@mug.org>
|
|
|
|
* Brook is Brook Milligan <brook@trillium.NMSU.Edu>
|
1999-11-14 13:11:02 +08:00
|
|
|
* Bruce is Bruce Momjian<pgman@candle.pha.pa.us>
|
1999-07-07 04:41:22 +08:00
|
|
|
* Bryan is Bryan Henderson<bryanh@giraffe.netgate.net>
|
|
|
|
* D'Arcy is D'Arcy J.M. Cain <darcy@druid.net>
|
|
|
|
* David is David Hartwig <daveh@insightdist.com>
|
|
|
|
* Edmund is Edmund Mergl <E.Mergl@bawue.de>
|
|
|
|
* Goran is Goran Thyni <goran@kyla.kiruna.se>
|
2000-01-23 11:28:54 +08:00
|
|
|
* Hiroshi is Hiroshi Inoue<Inoue@tpf.co.jp>
|
1999-07-07 04:41:22 +08:00
|
|
|
* Jan is Jan Wieck <wieck@sapserv.debis.de>
|
|
|
|
* Marc is Marc Fournier <scrappy@hub.org>
|
|
|
|
* Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
* Michael is Michael Meskes <meskes@postgresql.org>
|
|
|
|
* Oleg is Oleg Bartunov <oleg@sai.msu.su>
|
|
|
|
* Peter is Peter T Mount <peter@retep.org.uk>
|
2000-07-28 02:50:37 +08:00
|
|
|
* Philip Warner <pjw@rhyme.com.au>
|
2000-01-23 11:28:54 +08:00
|
|
|
* Peter E is Peter Eisentraut<peter_e@gmx.net>
|
1999-07-07 17:11:15 +08:00
|
|
|
* Ryan is Ryan Bradetich <rbrad@hpb50023.boi.hp.com>
|
1999-07-07 04:41:22 +08:00
|
|
|
* Stefan Simkovics <ssimkovi@rainbow.studorg.tuwien.ac.at>
|
|
|
|
* Tatsuo is Tatsuo Ishii <t-ishii@sra.co.jp>
|
|
|
|
* Tom is Tom Lane <tgl@sss.pgh.pa.us>
|
|
|
|
* Thomas is Thomas Lockhart <lockhart@alumni.caltech.edu>
|
|
|
|
* TomH is Tom I Helbekkmo <tih@Hamartun.Priv.NO>
|
|
|
|
* Vadim is "Vadim B. Mikheev" <vadim@krs.ru>
|
|
|
|
|
|
|
|
|