1996-10-04 19:15:24 +04:00
|
|
|
====================================================
|
1996-12-27 01:15:15 +03:00
|
|
|
TODO list (FAQ) for PostgreSQL
|
1996-10-04 19:15:24 +04:00
|
|
|
====================================================
|
1997-06-04 00:36:48 +04:00
|
|
|
last updated: Tue Jun 3 16:30:57 EDT 1997
|
1996-08-19 02:14:33 +04:00
|
|
|
|
|
|
|
current maintainer: Bruce Momjian (maillist@candle.pha.pa.us)
|
|
|
|
|
1996-10-04 19:15:24 +04:00
|
|
|
The most recent version of this document can be viewed at
|
1996-12-27 01:15:15 +03:00
|
|
|
the postgreSQL WWW site, http://www.postgreSQL.org.
|
1996-10-04 19:15:24 +04:00
|
|
|
|
1997-05-14 07:20:26 +04:00
|
|
|
Dashed items(-) are being worked on for the 6.1 release.
|
1996-12-27 01:15:15 +03:00
|
|
|
|
1997-05-14 07:20:26 +04:00
|
|
|
THE CHANGES FOR 6.1 APPEAR AT THE END OF THIS DOCUMENT
|
1996-12-27 01:15:15 +03:00
|
|
|
|
|
|
|
Developers who have claimed items are:
|
|
|
|
Bruce is Bruce Momjian<maillist@candle.pha.pa.us>
|
|
|
|
Bryan is Bryan Henderson<bryanh@giraffe.netgate.net>
|
|
|
|
Dan is Dan McGuirk <mcguirk@indirect.com>
|
1997-03-02 05:40:01 +03:00
|
|
|
Daniel is Daniel Kalchev <daniel@digsys.bg>
|
1996-12-27 01:15:15 +03:00
|
|
|
Darren is Darren King <darrenk@insightdist.com>
|
|
|
|
Edmund is Edmund Mergl <E.Mergl@bawue.de>
|
|
|
|
Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
|
1997-06-04 00:29:57 +04:00
|
|
|
Igor is Igor <igor@sba.miami.edu>
|
1997-05-14 07:20:26 +04:00
|
|
|
Jun is Jun Kuwamura <juk@rccm.co.jp>
|
1996-12-27 01:15:15 +03:00
|
|
|
Kurt is "Kurt J. Lidl" <lidl@va.pubnix.com>
|
|
|
|
Martin is Martin S. Utesch <utesch@aut.tu-freiberg.de>
|
1997-05-14 07:20:26 +04:00
|
|
|
Oleg is Oleg Bartunov <oleg@sai.msu.su>
|
|
|
|
Paul is Paul M. Aoki <aoki@CS.Berkeley.EDU>
|
|
|
|
Raymond is Raymond Toy <toy@rtp.ericsson.se>
|
|
|
|
Soo-Ho Ok <shok@detc.dongeui-tc.ac.kr>
|
|
|
|
Stefan Simkovics <ssimkovi@rainbow.studorg.tuwien.ac.at>
|
|
|
|
Sven is Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
|
1997-01-03 18:50:08 +03:00
|
|
|
Thomas is Thomas Lockhart <tgl@mythos.jpl.nasa.gov>
|
1996-12-27 01:15:15 +03:00
|
|
|
Vadim is "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
|
|
|
|
Vivek is Vivek Khera <khera@kci.kciLink.com>
|
1996-08-19 02:14:33 +04:00
|
|
|
|
|
|
|
RELIABILITY
|
|
|
|
-----------
|
1996-12-27 01:15:15 +03:00
|
|
|
-Overhaul mdmgr/smgr to fix double unlinking and double opens, cleanup(Erich)
|
|
|
|
-Overhaul bufmgr/lockmgr/transaction manager(Vadim)
|
|
|
|
remove -S (stable memory) option or fix memory manager
|
|
|
|
Fix CLUSTER
|
1996-08-19 02:14:33 +04:00
|
|
|
Fix all NULL features
|
1996-10-04 19:15:24 +04:00
|
|
|
allow psql to print nulls meaningfully
|
1997-03-02 05:40:01 +03:00
|
|
|
Fix compile and security of Kerberos/GSSAPI code (Daniel Kalchev?)
|
1996-10-04 19:15:24 +04:00
|
|
|
Dropping a table twice causes corruption, drop/create not rollback-able
|
1997-01-03 18:50:08 +03:00
|
|
|
-SUM aggregate on no rows or null value should return NULL, not zero(Thomas)
|
1996-12-27 01:15:15 +03:00
|
|
|
SELECT on two tables where zero or one table in WHERE and target
|
1997-03-02 05:40:01 +03:00
|
|
|
clause returns no rows
|
1996-12-27 01:15:15 +03:00
|
|
|
COUNT on VIEW always returns zero (maybe because there is no oid for views?)
|
|
|
|
CREATE VIEW requires super-user priviledge
|
1997-01-29 08:26:59 +03:00
|
|
|
SELECT a[1] FROM test fails, it needs test.a[1]
|
|
|
|
INSERT INTO ... SELECT DISTINCT ... generates error on DISTINCT
|
|
|
|
pg_database.datdba is oid, should be int4
|
1997-03-02 05:40:01 +03:00
|
|
|
can lo_export()/lo_import() read/write anywhere, causing a security problem?
|
1997-06-04 00:29:57 +04:00
|
|
|
-SELECT ... INTO TABLE ... with varchar()/char() types have zero-length fields
|
1997-03-02 05:40:01 +03:00
|
|
|
Fix UPDATE key_table SET keyval=max(reftab.NUM)+1 WHERE tblname='reftab'
|
1997-06-04 00:29:57 +04:00
|
|
|
SELECT COUNT(*) FROM TAB1, TAB2 fails
|
1996-08-19 02:14:33 +04:00
|
|
|
|
|
|
|
ENHANCEMENTS
|
|
|
|
------------
|
1997-05-14 07:20:26 +04:00
|
|
|
Add full ANSI SQL capabilities (Stefan)
|
1996-10-04 19:15:24 +04:00
|
|
|
add subselects, possibility using temporary SQL functions
|
|
|
|
Implement HAVING clause
|
|
|
|
Implement EXISTS qualifier
|
1997-01-29 08:26:59 +03:00
|
|
|
column constraints (using rules), PRIMARY KEY during table creation
|
1996-10-04 19:15:24 +04:00
|
|
|
add DEFAULT, RESTRAINT, and CHECK capabilities
|
1996-08-19 02:14:33 +04:00
|
|
|
report "Not implemented" if valid syntax is supplied
|
1997-01-29 08:26:59 +03:00
|
|
|
add NOT NULL to CREATE statement
|
1996-10-04 19:15:24 +04:00
|
|
|
add OUTER joins, left and right
|
1996-08-19 02:14:33 +04:00
|
|
|
make VIEWs updateable where possible
|
|
|
|
add UNIONS, INTERSECTS, SUBTRACTS
|
|
|
|
add temporary tables
|
|
|
|
add assertions
|
|
|
|
add domains
|
|
|
|
add sql3 recursive unions
|
|
|
|
add the concept of dataspaces
|
1997-03-02 05:40:01 +03:00
|
|
|
allow conversion type casts on SELECT target fields
|
1996-08-19 02:14:33 +04:00
|
|
|
Allow compression of large fields or a compressed field type
|
1997-05-14 07:20:26 +04:00
|
|
|
Fix the rules system(Jan?,Soo-Ho)
|
1996-08-19 02:14:33 +04:00
|
|
|
robust
|
|
|
|
making INSTEAD rules work
|
1996-12-27 01:15:15 +03:00
|
|
|
add CONSTRAINT
|
1996-08-19 02:14:33 +04:00
|
|
|
Full set of text operations and functions
|
1997-05-14 07:20:26 +04:00
|
|
|
- upper/lower()
|
|
|
|
word searches, concat,max() on text, char
|
1996-12-27 01:15:15 +03:00
|
|
|
Replace table-level locking with row or page-level locking(Vadim)
|
1996-08-19 02:14:33 +04:00
|
|
|
Large objects
|
|
|
|
overwriting blocks has problems
|
|
|
|
there are other problems, too.
|
1996-10-04 19:15:24 +04:00
|
|
|
Fix large object mapping scheme
|
|
|
|
not to stuff everything as files in a single directory
|
1996-08-19 02:14:33 +04:00
|
|
|
Better interface for adding to pg_group
|
1997-05-14 07:20:26 +04:00
|
|
|
-Make multi-field indexes easier to create(Vadim)
|
1996-08-19 02:14:33 +04:00
|
|
|
allow optimizer to effectively use parameters without accessing table
|
1997-05-14 07:20:26 +04:00
|
|
|
-Add int8 type(Thomas)
|
|
|
|
-Add MONEY/DECIMAL type(Thomas)
|
|
|
|
Make MONEY/DECIMAL have a defined precision
|
1996-12-27 01:15:15 +03:00
|
|
|
Add support for tables >2G, or test current version
|
|
|
|
Incorporate the PERL PG95 interface library into source tree(Edmund)
|
1996-08-19 02:14:33 +04:00
|
|
|
Threaded version of the server or libpq
|
1996-10-04 19:15:24 +04:00
|
|
|
Allow libpq to cancel query requests
|
1996-08-19 02:14:33 +04:00
|
|
|
Add REGEX internationalization
|
1996-10-04 19:15:24 +04:00
|
|
|
Add other language types for built-in functions
|
|
|
|
expand to allow tcl, perl, java,
|
|
|
|
generalize the function manager switch to pass
|
|
|
|
function sources to interpreter engines.
|
1997-03-02 05:40:01 +03:00
|
|
|
remove time-travel feature(Vadim)
|
|
|
|
reduce system column overhead(Vadmin)
|
|
|
|
remove pg_time table(Vadim)
|
|
|
|
allow row re-use without vacuum, maybe?(Vadim)
|
1997-05-14 07:20:26 +04:00
|
|
|
-split apart row removal function from statistics function(Vadim)
|
1997-03-02 05:40:01 +03:00
|
|
|
can't vacuum large objects
|
1997-05-14 07:20:26 +04:00
|
|
|
can't reduce index file size with vacuum
|
1996-12-27 01:15:15 +03:00
|
|
|
Remove restriction that ORDER BY field must be in SELECT list(?)
|
1996-10-04 19:15:24 +04:00
|
|
|
Allow queries about owner of datbases, tables like:
|
|
|
|
SELECT u.usesysid FROM postgres.pg_user u;
|
1997-06-04 00:36:48 +04:00
|
|
|
-DROP AGGREGATE should take in basetype as an arg(Darren)
|
1996-10-04 19:15:24 +04:00
|
|
|
Add word index for text fields, maybe with trigrams, i.e.:
|
|
|
|
' (cat | dog) & ! fox ' meaning text has cat or dog, but not fox
|
1997-03-02 05:40:01 +03:00
|
|
|
-Add common-sense constant type promotions(Bruce)
|
1996-10-04 19:15:24 +04:00
|
|
|
Allow readline-type or editor command editing of multi-line SQL commands
|
1997-03-02 05:40:01 +03:00
|
|
|
-Allow pg_dump to dump all databases at a site in one command(Bruce)
|
1996-12-27 01:15:15 +03:00
|
|
|
Populate backend status area and write program to dump status data
|
|
|
|
Add ALTER TABLE DROP COLUMN feature
|
|
|
|
Remove stale files upon startup(Vivek)
|
|
|
|
Add command to show privileges
|
|
|
|
Allow INSERT INTO ... SELECT to convert column types
|
|
|
|
Add syslog functionality
|
1997-06-04 00:36:48 +04:00
|
|
|
-Allow aggregate for all types, like count(Darren)
|
1996-12-27 01:15:15 +03:00
|
|
|
Improve optimizer plan choice(Darren)
|
|
|
|
Add STDDEV/VARIANCE() function for standard deviation computation/variance
|
1997-03-02 05:40:01 +03:00
|
|
|
Add table/column/function discription table indexed by oid
|
1996-12-27 01:15:15 +03:00
|
|
|
-make all identifiers case-insensitive(Bruce)
|
1997-01-03 18:50:08 +03:00
|
|
|
add pg_type attribute to identify types that need length (bpchar, varchar)
|
1997-01-29 08:26:59 +03:00
|
|
|
add UNIQUE capability to non-btree indexes
|
1997-05-14 07:20:26 +04:00
|
|
|
-allow GROUP BY on columns that on functions(Vadim)
|
|
|
|
-add non-ascii collating strings with strcoll() and setlocale (Oleg)
|
|
|
|
-new DATE routines (Thomas)
|
|
|
|
-index NULL fields(Vadim)
|
|
|
|
-Add SERIAL column type(Vadim)
|
|
|
|
-Add multi-column indexes(Vadim)
|
|
|
|
-Add SET VAR TO command
|
1996-10-04 19:15:24 +04:00
|
|
|
|
|
|
|
PERFORMANCE
|
|
|
|
-----------
|
|
|
|
Optimizing disjunctive queries
|
1996-12-27 01:15:15 +03:00
|
|
|
-Add Genetic Query Optimzation for many tables (Martin)
|
|
|
|
-Fix bushy-plans (Martin)
|
1996-10-04 19:15:24 +04:00
|
|
|
Other optimizer bugs
|
|
|
|
Is fsync use optimized?
|
|
|
|
Multi-representational types, a la Illustra. For example, have a
|
|
|
|
text type that is stored in-tuple when less than 8K and in large
|
|
|
|
objects, when greater than 8K.
|
|
|
|
Use indexes in ORDER BY
|
|
|
|
Profile engine in INSERT's and other operations
|
1997-03-02 05:40:01 +03:00
|
|
|
-Speed up hash creation by using btree's fast sort/insert routines(done)
|
1996-10-04 19:15:24 +04:00
|
|
|
Cache most recent query plan(s?)
|
|
|
|
Allow compression of log and meta data
|
|
|
|
Allow LIKE/wildcard matches to use indexes if the wildcard character is not first
|
1996-12-27 01:15:15 +03:00
|
|
|
Add FILLFACTOR to index creation
|
1997-03-02 05:40:01 +03:00
|
|
|
Allow indexes to be used with OR clauses(Vadim)
|
1996-12-27 01:15:15 +03:00
|
|
|
-Add column optimization statistics to vacuum(Bruce)
|
1997-06-04 00:36:48 +04:00
|
|
|
Change pg_attribute.attnvals name to attdispursion and change type float4
|
1997-01-03 18:50:08 +03:00
|
|
|
update pg_statistic table to remove operator column
|
1996-08-19 02:14:33 +04:00
|
|
|
|
|
|
|
DOCUMENTATION
|
|
|
|
-------------
|
1997-05-14 07:20:26 +04:00
|
|
|
Update usermanual source(many)
|
1996-12-27 01:15:15 +03:00
|
|
|
remove time-travel in documentation(Bruce)
|
|
|
|
added features used in grammer but not in docs, like :: and CAST
|
1997-03-02 05:40:01 +03:00
|
|
|
add DECLARE manual page
|
1996-08-19 02:14:33 +04:00
|
|
|
|
|
|
|
PORTABILITY
|
|
|
|
-----------
|
1997-05-14 07:20:26 +04:00
|
|
|
|
1996-12-27 01:15:15 +03:00
|
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
|
1997-05-14 07:20:26 +04:00
|
|
|
CHANGES IN THE 6.1 RELEASE
|
1996-12-28 05:01:58 +03:00
|
|
|
|
1997-05-15 00:18:53 +04:00
|
|
|
Bug Fixes
|
|
|
|
---------
|
|
|
|
packet length checking in library routines
|
|
|
|
lock manager priority patch
|
|
|
|
check for under/over flow of float8(Bruce)
|
|
|
|
multi-table join fix(Vadim)
|
|
|
|
SIGPIPE crash fix(Darren)
|
|
|
|
large object fixes(Sven)
|
|
|
|
allow btree indexes to handle NULLs(Vadim)
|
|
|
|
timezone fixes(D'Arcy)
|
1997-05-15 01:56:13 +04:00
|
|
|
select SUM(x) can return NULL on no rows(Thomas)
|
1997-05-15 00:18:53 +04:00
|
|
|
internal optimizer, executor bug fixes(Vadim)
|
|
|
|
fix problem where inner loop in < or <= has no rows(Vadim)
|
|
|
|
prevent re-commuting join index clauses(Vadim)
|
|
|
|
fix join clauses for multiple tables(Vadim)
|
|
|
|
fix hash, hashjoin for arrays(Vadim)
|
|
|
|
fix btree for abstime type(Vadim)
|
|
|
|
large object fixes(Raymond)
|
1997-06-04 00:29:57 +04:00
|
|
|
fix buffer leak in hash indices (Vadim)
|
|
|
|
fix rtree for use in inner scan (Vadim)
|
|
|
|
fix gist for use in inner scan, cleanups (Vadim, Andrea)
|
|
|
|
avoid unnecessary local buffers allocation (Vadim, Massimo)
|
|
|
|
fix local buffers leak in transaction aborts (Vadim)
|
|
|
|
fix file manager memmory leaks, cleanups (Vadim, Massimo)
|
|
|
|
fix storage manager memmory leaks (Vadim)
|
|
|
|
fix btree duplicates handling (Vadim)
|
|
|
|
fix deleted tuples re-incarnation caused by vacuum (Vadim)
|
|
|
|
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
|
|
|
|
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)
|
1997-05-15 00:18:53 +04:00
|
|
|
|
|
|
|
Enhancements
|
|
|
|
------------
|
1997-05-14 07:20:26 +04:00
|
|
|
attribute optimization statistics(Bruce)
|
|
|
|
much faster new btree bulk load code(Paul)
|
|
|
|
BTREE UNIQUE added to bulk load code(Vadim)
|
|
|
|
new lock debug code(Massimo)
|
1997-05-15 00:18:53 +04:00
|
|
|
massive changes to libpg++(Leo)
|
1997-05-14 07:20:26 +04:00
|
|
|
new GEQO optimizer speeds table multi-table optimization(Martin)
|
|
|
|
new WARN message for non-unique insert into unique key(Marc)
|
|
|
|
update x=-3, no spaces, now valid(Bruce)
|
|
|
|
remove case-sensitive identifier handling(Bruce,Thomas,Dan)
|
|
|
|
debug backend now pretty-prints tree(Darren)
|
|
|
|
new Oracle character functions(Edmund)
|
|
|
|
new plaintext password functions(Dan)
|
|
|
|
no such class or insufficient privilege changed to distinct messages(Dan)
|
|
|
|
new ANSI timestamp function(Dan)
|
|
|
|
new ANSI Time and Date types (Thomas)
|
|
|
|
move large chunks of data in backend(Martin)
|
|
|
|
multi-column btree indexes(Vadim)
|
|
|
|
new SET var TO value command(Martin)
|
1997-05-15 01:56:13 +04:00
|
|
|
update transaction status on reads(Dan)
|
1997-05-14 07:20:26 +04:00
|
|
|
new locale settings for character types(Oleg)
|
|
|
|
new SEQUENCE serial number generator(Vadim)
|
|
|
|
GROUP BY function now possible(Vadim)
|
|
|
|
re-organize regression test(Thomas,Marc)
|
|
|
|
new optimizer operation weights(Vadim)
|
|
|
|
new psql \z grant/permit option(Marc)
|
1997-05-15 01:56:13 +04:00
|
|
|
new MONEY data type(D'Arcy,Thomas)
|
1997-05-14 07:20:26 +04:00
|
|
|
tcp socket communication speed improved(Vadim)
|
|
|
|
new VACUUM option for attribute statistics, and for certain columns (Vadim)
|
|
|
|
many geometric type improvements(Thomas,Keith)
|
|
|
|
additional regression tests(Thomas)
|
1997-05-15 01:56:13 +04:00
|
|
|
new datestyle variable(Thomas,Vadim,Martin)
|
1997-05-14 07:20:26 +04:00
|
|
|
more comparison operators for sorting types(Thomas)
|
|
|
|
new conversion functions(Thomas)
|
|
|
|
new more compact btree format(Vadim)
|
1997-05-15 00:18:53 +04:00
|
|
|
allow pg_dumpall to preserve database ownership(Bruce)
|
1997-06-04 00:29:57 +04:00
|
|
|
new SET GEQO=# and R_PLANS variable(Vadim)
|
|
|
|
old (!GEQO) optimizer can use right-sided plans (Vadim)
|
|
|
|
typechecking improvement in SQL parser(Bruce)
|
|
|
|
new SET, SHOW, RESET commands(Thomas,Vadim)
|
|
|
|
new \connect database USER option
|
|
|
|
new destroydb -i option (Igor)
|
|
|
|
new \dt and \di psql commands (Darren)
|
|
|
|
SELECT "\n" now escapes newline (A. Duursma)
|
|
|
|
new geometry conversion functions from old format (Thomas)
|
1996-12-28 05:01:58 +03:00
|
|
|
|
1997-05-15 00:18:53 +04:00
|
|
|
Source tree changes
|
|
|
|
-------------------
|
|
|
|
new configuration script(Marc)
|
|
|
|
readline configuration option added(Marc)
|
|
|
|
OS-specific configuration options removed(Marc)
|
|
|
|
new OS-specific template files(Marc)
|
|
|
|
no more need to edit Makefile.global(Marc)
|
|
|
|
re-arrange include files(Marc)
|
|
|
|
nextstep patches (Gregor Hoffleit)
|
|
|
|
removed WIN32-specific code(Bruce)
|
|
|
|
removed postmaster -e option, now only postgres -e option (Bruce)
|
|
|
|
merge duplicate library code in front/backends(Martin)
|
|
|
|
now works with eBones, international Kerberos(Jun)
|
|
|
|
more shared library support
|
|
|
|
c++ include file cleanup(Bruce)
|
|
|
|
warn about buggy flex(Bruce)
|
1997-06-04 00:29:57 +04:00
|
|
|
DG-UX, Ultrix, Irix, AIX portability fixes
|