Commit Graph

747 Commits

Author SHA1 Message Date
Thomas G. Lockhart ab35b0822b Expunge "UNIX" in favor of "Unix".
A few other changes, but I forget what :(
1999-10-04 15:18:54 +00:00
Thomas G. Lockhart ee8d39a852 Add mention of transactions and large objects.
Still need the code updated for LO examples.
1999-10-04 15:16:35 +00:00
Bruce Momjian 59844a65dd Fix typo in sgml source. 1999-10-04 04:37:46 +00:00
Bruce Momjian 48049b4ce3 Update TODO list. 1999-10-03 17:22:21 +00:00
Bruce Momjian b65f3b089b Update TODO list. 1999-10-03 17:21:46 +00:00
Tom Lane e23a2b1ea0 Document formerly-undocumented WITH clause of CREATE FUNCTION. 1999-10-02 21:27:49 +00:00
Bruce Momjian 4e9073855c Update TODO list. 1999-10-01 15:46:39 +00:00
Thomas G. Lockhart 996c52beff Refer to "name", rather than "table" as the replaceable parameter.
Seems to read better this way...
1999-10-01 15:26:29 +00:00
Thomas G. Lockhart f74179cd8e Make a mention of the new TRUNCATE command. 1999-10-01 15:24:46 +00:00
Thomas G. Lockhart 66d17c3e26 Make TABLE an optional keyword, a la LOCK TABLE (gram.y fixes not yet
committed, but will be within a week or two).
Actually include the reference page into the docs...
1999-10-01 15:24:09 +00:00
Thomas G. Lockhart 03e5edb7e4 Add keywords from Jan's recent RI features. 1999-10-01 15:21:08 +00:00
Thomas G. Lockhart b14a465131 Remove xref's to reference pages since they are not available in
the Programmer's Guide.
1999-10-01 15:20:06 +00:00
Bruce Momjian 82b1f55239 Update TODO list. 1999-09-29 21:53:56 +00:00
Bruce Momjian bdd6c0a61f <!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 &amp; 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 &gt; 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 &amp; 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 &lt;= 64k, not &lt;= 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 &gt; 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 &lt;<A HREF="mailto:henry@zoo.utoronto.ca">henry@zoo.utoronto.ca</A>&gt;
  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 &lt;<A HREF="mailto:Bill.Allie@mug.org">Bill.Allie@mug.org</A>&gt;
  <LI> Brook is Brook Milligan &lt;<A HREF="mailto:brook@trillium.NMSU.Edu">brook@trillium.NMSU.Edu</A>&gt;
  <LI> Bruce is Bruce Momjian&lt;<A HREF="mailto:maillist@candle.pha.pa.us">maillist@candle.pha.pa.us</A>&gt;
  <LI> Bryan is Bryan Henderson&lt;<A HREF="mailto:bryanh@giraffe.netgate.net">bryanh@giraffe.netgate.net</A>&gt;
  <LI> D'Arcy is D'Arcy J.M. Cain &lt;<A HREF="mailto:darcy@druid.net">darcy@druid.net</A>&gt;
  <LI> David is David Hartwig &lt;<A HREF="mailto:daveh@insightdist.com">daveh@insightdist.com</A>&gt;
  <LI> Edmund is Edmund Mergl &lt;<A HREF="mailto:E.Mergl@bawue.de">E.Mergl@bawue.de</A>&gt;
  <LI> Goran is Goran Thyni &lt;<A HREF="mailto:goran@kyla.kiruna.se">goran@kyla.kiruna.se</A>&gt;
  <LI> Hiroshi is Hiroshi Inoue&lt;<A HREF="mailto:Inoue@tpf.co.jp">Inoue@tpf.co.jp</A>&gt;
  <LI> Jan is Jan Wieck &lt;<A HREF="mailto:wieck@sapserv.debis.de">wieck@sapserv.debis.de</A>&gt;
  <LI> Marc is Marc Fournier &lt;<A HREF="mailto:scrappy@hub.org">scrappy@hub.org</A>&gt;
  <LI> Massimo Dal Zotto &lt;<A HREF="mailto:dz@cs.unitn.it">dz@cs.unitn.it</A>&gt;
  <LI> Michael is Michael Meskes &lt;<A HREF="mailto:meskes@postgresql.org">meskes@postgresql.org</A>&gt;
  <LI> Oleg is Oleg Bartunov &lt;<A HREF="mailto:oleg@sai.msu.su">oleg@sai.msu.su</A>&gt;
  <LI> Peter is Peter T Mount &lt;<A HREF="mailto:peter@retep.org.uk">peter@retep.org.uk</A>&gt;
  <LI> Ryan is Ryan Bradetich &lt;<A HREF="mailto:rbrad@hpb50023.boi.hp.com">rbrad@hpb50023.boi.hp.com</A>&gt;
  <LI> Stefan Simkovics &lt;<A HREF="mailto:ssimkovi@rainbow.studorg.tuwien.ac.at">ssimkovi@rainbow.studorg.tuwien.ac.at</A>&gt;
  <LI> Tatsuo is Tatsuo Ishii &lt;<A HREF="mailto:t-ishii@sra.co.jp">t-ishii@sra.co.jp</A>&gt;
  <LI> Tom is Tom Lane &lt;<A HREF="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</A>&gt;
  <LI> Thomas is Thomas Lockhart &lt;<A HREF="mailto:lockhart@alumni.caltech.edu">lockhart@alumni.caltech.edu</A>&gt;
  <LI> TomH is Tom I Helbekkmo &lt;<A HREF="mailto:tih@Hamartun.Priv.NO">tih@Hamartun.Priv.NO</A>&gt;
  <LI> Vadim is "Vadim B. Mikheev" &lt;<A HREF="mailto:vadim@krs.ru">vadim@krs.ru</A>&gt;


</UL>

</BODY>
</HTML>
1999-09-29 21:42:11 +00:00
Thomas G. Lockhart d810338d29 Add a few items to the reserved keyword lists.
Clarify information on implicitly-typed constants.
1999-09-29 05:22:25 +00:00
Thomas G. Lockhart be18913532 Remove remnant garbage from former man pages. 1999-09-29 05:21:11 +00:00
Thomas G. Lockhart fe2f878173 Fix (mis)information about NULLIF() SQL function.
Thanks to Tom Lane for pointing it out.
1999-09-29 05:20:20 +00:00
Thomas G. Lockhart f7e12db734 Strip out some cvs log info. 1999-09-29 05:18:14 +00:00
Bruce Momjian cdd84ccd56 <!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 &amp; 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 &gt; 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 &amp; 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 &lt;= 64k, not &lt;= 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 &gt; 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 &lt;<A HREF="mailto:henry@zoo.utoronto.ca">henry@zoo.utoronto.ca</A>&gt;
  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 &lt;<A HREF="mailto:Bill.Allie@mug.org">Bill.Allie@mug.org</A>&gt;
  <LI> Brook is Brook Milligan &lt;<A HREF="mailto:brook@trillium.NMSU.Edu">brook@trillium.NMSU.Edu</A>&gt;
  <LI> Bruce is Bruce Momjian&lt;<A HREF="mailto:maillist@candle.pha.pa.us">maillist@candle.pha.pa.us</A>&gt;
  <LI> Bryan is Bryan Henderson&lt;<A HREF="mailto:bryanh@giraffe.netgate.net">bryanh@giraffe.netgate.net</A>&gt;
  <LI> D'Arcy is D'Arcy J.M. Cain &lt;<A HREF="mailto:darcy@druid.net">darcy@druid.net</A>&gt;
  <LI> David is David Hartwig &lt;<A HREF="mailto:daveh@insightdist.com">daveh@insightdist.com</A>&gt;
  <LI> Edmund is Edmund Mergl &lt;<A HREF="mailto:E.Mergl@bawue.de">E.Mergl@bawue.de</A>&gt;
  <LI> Goran is Goran Thyni &lt;<A HREF="mailto:goran@kyla.kiruna.se">goran@kyla.kiruna.se</A>&gt;
  <LI> Hiroshi is Hiroshi Inoue&lt;<A HREF="mailto:Inoue@tpf.co.jp">Inoue@tpf.co.jp</A>&gt;
  <LI> Jan is Jan Wieck &lt;<A HREF="mailto:wieck@sapserv.debis.de">wieck@sapserv.debis.de</A>&gt;
  <LI> Marc is Marc Fournier &lt;<A HREF="mailto:scrappy@hub.org">scrappy@hub.org</A>&gt;
  <LI> Massimo Dal Zotto &lt;<A HREF="mailto:dz@cs.unitn.it">dz@cs.unitn.it</A>&gt;
  <LI> Michael is Michael Meskes &lt;<A HREF="mailto:meskes@postgresql.org">meskes@postgresql.org</A>&gt;
  <LI> Oleg is Oleg Bartunov &lt;<A HREF="mailto:oleg@sai.msu.su">oleg@sai.msu.su</A>&gt;
  <LI> Peter is Peter T Mount &lt;<A HREF="mailto:peter@retep.org.uk">peter@retep.org.uk</A>&gt;
  <LI> Ryan is Ryan Bradetich &lt;<A HREF="mailto:rbrad@hpb50023.boi.hp.com">rbrad@hpb50023.boi.hp.com</A>&gt;
  <LI> Stefan Simkovics &lt;<A HREF="mailto:ssimkovi@rainbow.studorg.tuwien.ac.at">ssimkovi@rainbow.studorg.tuwien.ac.at</A>&gt;
  <LI> Tatsuo is Tatsuo Ishii &lt;<A HREF="mailto:t-ishii@sra.co.jp">t-ishii@sra.co.jp</A>&gt;
  <LI> Tom is Tom Lane &lt;<A HREF="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</A>&gt;
  <LI> Thomas is Thomas Lockhart &lt;<A HREF="mailto:lockhart@alumni.caltech.edu">lockhart@alumni.caltech.edu</A>&gt;
  <LI> TomH is Tom I Helbekkmo &lt;<A HREF="mailto:tih@Hamartun.Priv.NO">tih@Hamartun.Priv.NO</A>&gt;
  <LI> Vadim is "Vadim B. Mikheev" &lt;<A HREF="mailto:vadim@krs.ru">vadim@krs.ru</A>&gt;


</UL>

</BODY>
</HTML>
1999-09-28 19:56:49 +00:00
Bruce Momjian 165e2b6fb3 Recommend postmaster stop/start for pg_upgrade. 1999-09-28 15:59:10 +00:00
Bruce Momjian 35a2e62c5b Update README.NT 1999-09-28 13:08:10 +00:00
Bruce Momjian 9d5affaaf2 Update FAQ. 1999-09-28 05:09:56 +00:00
Bruce Momjian b89044b275 <!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 &amp; 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

</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 &gt; 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 &amp; 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 &lt;= 64k, not &lt;= 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 &gt; 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 &lt;<A HREF="mailto:henry@zoo.utoronto.ca">henry@zoo.utoronto.ca</A>&gt;
  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 &lt;<A HREF="mailto:Bill.Allie@mug.org">Bill.Allie@mug.org</A>&gt;
  <LI> Brook is Brook Milligan &lt;<A HREF="mailto:brook@trillium.NMSU.Edu">brook@trillium.NMSU.Edu</A>&gt;
  <LI> Bruce is Bruce Momjian&lt;<A HREF="mailto:maillist@candle.pha.pa.us">maillist@candle.pha.pa.us</A>&gt;
  <LI> Bryan is Bryan Henderson&lt;<A HREF="mailto:bryanh@giraffe.netgate.net">bryanh@giraffe.netgate.net</A>&gt;
  <LI> D'Arcy is D'Arcy J.M. Cain &lt;<A HREF="mailto:darcy@druid.net">darcy@druid.net</A>&gt;
  <LI> David is David Hartwig &lt;<A HREF="mailto:daveh@insightdist.com">daveh@insightdist.com</A>&gt;
  <LI> Edmund is Edmund Mergl &lt;<A HREF="mailto:E.Mergl@bawue.de">E.Mergl@bawue.de</A>&gt;
  <LI> Goran is Goran Thyni &lt;<A HREF="mailto:goran@kyla.kiruna.se">goran@kyla.kiruna.se</A>&gt;
  <LI> Hiroshi is Hiroshi Inoue&lt;<A HREF="mailto:Inoue@tpf.co.jp">Inoue@tpf.co.jp</A>&gt;
  <LI> Jan is Jan Wieck &lt;<A HREF="mailto:wieck@sapserv.debis.de">wieck@sapserv.debis.de</A>&gt;
  <LI> Marc is Marc Fournier &lt;<A HREF="mailto:scrappy@hub.org">scrappy@hub.org</A>&gt;
  <LI> Massimo Dal Zotto &lt;<A HREF="mailto:dz@cs.unitn.it">dz@cs.unitn.it</A>&gt;
  <LI> Michael is Michael Meskes &lt;<A HREF="mailto:meskes@postgresql.org">meskes@postgresql.org</A>&gt;
  <LI> Oleg is Oleg Bartunov &lt;<A HREF="mailto:oleg@sai.msu.su">oleg@sai.msu.su</A>&gt;
  <LI> Peter is Peter T Mount &lt;<A HREF="mailto:peter@retep.org.uk">peter@retep.org.uk</A>&gt;
  <LI> Ryan is Ryan Bradetich &lt;<A HREF="mailto:rbrad@hpb50023.boi.hp.com">rbrad@hpb50023.boi.hp.com</A>&gt;
  <LI> Stefan Simkovics &lt;<A HREF="mailto:ssimkovi@rainbow.studorg.tuwien.ac.at">ssimkovi@rainbow.studorg.tuwien.ac.at</A>&gt;
  <LI> Tatsuo is Tatsuo Ishii &lt;<A HREF="mailto:t-ishii@sra.co.jp">t-ishii@sra.co.jp</A>&gt;
  <LI> Tom is Tom Lane &lt;<A HREF="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</A>&gt;
  <LI> Thomas is Thomas Lockhart &lt;<A HREF="mailto:lockhart@alumni.caltech.edu">lockhart@alumni.caltech.edu</A>&gt;
  <LI> TomH is Tom I Helbekkmo &lt;<A HREF="mailto:tih@Hamartun.Priv.NO">tih@Hamartun.Priv.NO</A>&gt;
  <LI> Vadim is "Vadim B. Mikheev" &lt;<A HREF="mailto:vadim@krs.ru">vadim@krs.ru</A>&gt;


</UL>

</BODY>
</HTML>
1999-09-28 04:35:18 +00:00
Bruce Momjian 9394d62c73 I have been working with user defined types and user defined c
functions.  One problem that I have encountered with the function
manager is that it does not allow the user to define type conversion
functions that convert between user types. For instance if mytype1,
mytype2, and mytype3 are three Postgresql user types, and if I wish to
define Postgresql conversion functions like

I run into problems, because the Postgresql dynamic loader would look
for a single link symbol, mytype3, for both pieces of object code.  If
I just change the name of one of the Postgresql functions (to make the
symbols distinct), the automatic type conversion that Postgresql uses,
for example, when matching operators to arguments no longer finds the
type conversion function.

The solution that I propose, and have implemented in the attatched
patch extends the CREATE FUNCTION syntax as follows. In the first case
above I use the link symbol mytype2_to_mytype3 for the link object
that implements the first conversion function, and define the
Postgresql operator with the following syntax

The patch includes changes to the parser to include the altered
syntax, changes to the ProcedureStmt node in nodes/parsenodes.h,
changes to commands/define.c to handle the extra information in the AS
clause, and changes to utils/fmgr/dfmgr.c that alter the way that the
dynamic loader figures out what link symbol to use.  I store the
string for the link symbol in the prosrc text attribute of the pg_proc
table which is currently unused in rows that reference dynamically
loaded
functions.


Bernie Frankpitt
1999-09-28 04:34:56 +00:00
Bruce Momjian 63a85082e3 Reverse out last scan.l patch for minus handling.\ 1999-09-28 03:41:40 +00:00
Bruce Momjian bc0595f27f Update TODO list. 1999-09-28 02:57:55 +00:00
Bruce Momjian 04f150e607 Update NT readme. 1999-09-28 01:43:00 +00:00
Bruce Momjian d62a7ac6d3 Massimo's SET FSYNC and SHOW PG_OPTIONS changes, without SET QUERY_LIMIT. 1999-09-27 20:27:32 +00:00
Bruce Momjian 23e10804f0 Update TODO list. 1999-09-27 19:56:50 +00:00
Bruce Momjian 15d1dfcf9a Update README.NT 1999-09-27 19:55:48 +00:00
Bruce Momjian ebb618bc5d Update README.NT with patch. 1999-09-27 18:32:58 +00:00
Bruce Momjian 99fb237da2 Update TODO list. 1999-09-27 17:05:08 +00:00
Bruce Momjian 74a263ed34 Fix to give super user and createdb user proper update catalog rights. 1999-09-27 16:44:56 +00:00
Bruce Momjian 2902c4c640 Update TODO list. 1999-09-27 15:21:36 +00:00
Bruce Momjian d1d97a9185 New Solaris FAQ. 1999-09-27 03:34:54 +00:00
Bruce Momjian c35fedda79 Update TODO list. 1999-09-27 03:24:50 +00:00
Bruce Momjian 3114f92122 Add bsdi sparc port. 1999-09-27 00:48:42 +00:00
Hiroshi Inoue 95d3d468ce This is a patch for cygipc library provided by Yutaka Tanida.
This is necessary to prevent freezing in cygwin port.
1999-09-24 05:58:48 +00:00
Bruce Momjian ad791c1d14 Update TODO list. 1999-09-23 22:14:01 +00:00
Bruce Momjian 36453816db Update TODO list. 1999-09-23 22:05:22 +00:00
Bruce Momjian ebd2391546 Update TODO list. 1999-09-23 22:04:00 +00:00
Bruce Momjian f66393514f One last missing quoting bug in pg_dump:
now that sequence names are properly quoted for field defaults, mixed
case sequence names are generated. These are properly quoted in the
CREATE SEQUENCE lines, but not in the SELECT nextval lines, as per
below:

CREATE SEQUENCE "Teams_TeamID_seq" start 10 increment 1 maxvalue
2147483647 minvalue 1  cache 1 ;
SELECT nextval ('Teams_TeamID_seq');

This needs to be:
SELECT nextval ('"Teams_TeamID_seq"');

Patch included below.
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
1999-09-23 19:11:09 +00:00
Bruce Momjian be38f75edf Update TODO list. 1999-09-23 19:05:59 +00:00
Bruce Momjian 8f50694f86 Update TODO list. 1999-09-23 18:58:49 +00:00
Bruce Momjian 3f1b2de9e6 Update TODO list. 1999-09-23 18:54:57 +00:00
Bruce Momjian eea26a3f0f Update TODO list. 1999-09-23 17:59:10 +00:00
Bruce Momjian 8a454fc2a2 Update TODO list. 1999-09-23 17:50:57 +00:00
Bruce Momjian dabc3f31b5 Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0
This is because (-1) << 32 is -1 (Only intel arc. has been checked)

Oleg Sharoiko
1999-09-23 17:42:23 +00:00
Bruce Momjian e7cad7b0cb Add TRUNCATE command, with psql help and sgml additions. 1999-09-23 17:03:39 +00:00
Bruce Momjian abd4bf1341 Update TODO list. 1999-09-23 15:47:48 +00:00
Bruce Momjian 4db51b155d Update TODO list. 1999-09-23 15:43:40 +00:00
Bruce Momjian 7947c6ded1 Update TODO list. 1999-09-21 21:37:06 +00:00
Bruce Momjian 79434a3d54 Update TODO list. 1999-09-21 21:17:42 +00:00
Bruce Momjian 24a5300650 Update TODO list. 1999-09-21 20:00:14 +00:00
Bruce Momjian 99f289de49 Update TODO list. 1999-09-21 19:58:01 +00:00
Bruce Momjian 77bbd7147b Update pgaccess 0.98. 1999-09-20 21:43:06 +00:00
Bruce Momjian 35dc71980e Update TODO. 1999-09-20 16:28:12 +00:00
Bruce Momjian b8e7ebb7aa Update TODO list. 1999-09-20 16:25:33 +00:00
Bruce Momjian 957e6a6921 Add TODO detail directory. 1999-09-20 15:40:12 +00:00
Bruce Momjian 7559677551 Define plpgsql_yylineno as non-extern somewhere for bsdi. 1999-09-20 02:12:31 +00:00
Bruce Momjian 6c86fd5ba4 Update TODO list. 1999-09-18 01:34:06 +00:00
Bruce Momjian 9995ba364c Update TODO list. 1999-09-17 15:49:24 +00:00
Bruce Momjian c77ec76e7c Update TODO list. 1999-09-17 01:57:36 +00:00
Michael Meskes 4d4378b70f *** empty log message *** 1999-09-15 14:14:10 +00:00
Thomas G. Lockhart 408e6e02ef Update from Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
for v6.5.2 info.
1999-09-14 15:34:49 +00:00
Bruce Momjian 4197aaa8ae Update TODO list. 1999-09-14 02:19:38 +00:00
Bruce Momjian ad4a574b00 Add solaris faq. 1999-09-13 00:21:18 +00:00
Tom Lane a7fd74edb3 Update protocol doc to emphasize that backend can return
arbitrarily long strings, and frontends should cope gracefully.  Goes
along with long query and long error message changes...
1999-09-11 22:02:51 +00:00
Thomas G. Lockhart 1e4f0197bb Add information on ssh tunnelling from Gene Selkov. 1999-09-10 14:20:24 +00:00
Bruce Momjian a2b57e3fe9 Update TODO list. 1999-09-07 03:58:13 +00:00
Thomas G. Lockhart db5d724986 Fix wording on allowed/forbidden keyword usage.
Thanks to Michael Deck <deckm@cleansoft.com> for the tipoff.
Add more examples for language components.
1999-09-01 02:37:40 +00:00
Tom Lane 78114cd4d4 Further planner/optimizer cleanups. Move all set_tlist_references
and fix_opids processing to a single recursive pass over the plan tree
executed at the very tail end of planning, rather than haphazardly here
and there at different places.  Now that tlist Vars do not get modified
until the very end, it's possible to get rid of the klugy var_equal and
match_varid partial-matching routines, and just use plain equal()
throughout the optimizer.  This is a step towards allowing merge and
hash joins to be done on expressions instead of only Vars ...
1999-08-22 20:15:04 +00:00
Bruce Momjian ca5c10f778 Update TODO list. 1999-08-18 15:11:52 +00:00
Bruce Momjian 898b21267d Add missing docs semicolon. 1999-08-17 17:31:11 +00:00
Bruce Momjian 55179388f9 Typo fix 1999-08-16 20:32:34 +00:00
Bruce Momjian 972124091d I've sent 3 mails to pgsql-patches. There are two files, one for doc
and
for src/data directories, and one minor patch for doc/README.locale.
   Please apply.

Oleg.
1999-08-16 20:27:19 +00:00
Bruce Momjian aa2cc6ebbe Change >& to > and 2>&1. 1999-08-16 19:59:25 +00:00
Bruce Momjian 448d1ab0ad Update TODO list. 1999-08-13 16:56:04 +00:00
Bruce Momjian 6075717df0 Update TODO list. 1999-08-10 16:56:54 +00:00
Thomas G. Lockhart d0a1919852 Use sgml/Makefile to generate man sections, so just "make man" there. 1999-08-08 15:10:21 +00:00
Thomas G. Lockhart 7af929cd79 Switch from old man pages to new ones generated from sgml. 1999-08-08 15:09:04 +00:00
Thomas G. Lockhart 13d1a3c06d Remove emacs properties block from end of file. 1999-08-08 15:05:22 +00:00
Thomas G. Lockhart c9ff1a5a75 Update references to char2 type by using char(2).
Thanks to Garr Updegraff <garru@uci.edu> for the tip.
1999-08-08 04:21:33 +00:00
Thomas G. Lockhart f11bdb9db5 Allow nsgmls to validate input by defining the document type.
Use refentry.sgml as a generic header for man pages through nsgmls.
1999-08-08 04:18:29 +00:00
Thomas G. Lockhart c879556780 Fix markup to allow clean man pages.
Add new pages for programming languages and tcl shells.
1999-08-06 13:50:31 +00:00
Thomas G. Lockhart 6b07527721 Fix cross-reference markup so that only the *title* of the Operators
chapter is included, not the chapter itself.
Thanks to Evelyn Mitchell <efm@tummy.com> for pointing it out.
1999-08-06 13:48:38 +00:00
Thomas G. Lockhart 777a4f71f0 Remove explicit references to ref/ path in file names; use vpath instead.
Fix rules for man pages to ensure double-pass to get cross references.
Add a few new man pages.
1999-08-06 13:46:17 +00:00
Thomas G. Lockhart 4f1766f1ea Try to clarify characteristics of the SERIAL type.
Fix source indenting, which does not affect output.
Note: still need docs on NUMERIC and DECIMAL
 (and let's not talk about regression tests :()
1999-08-06 13:43:42 +00:00
Bruce Momjian 5a76a94e41 Update TODO list. 1999-08-05 01:53:35 +00:00
Bruce Momjian aa1bbed7da Update NT readme. 1999-08-01 14:48:50 +00:00
Tom Lane d7f2c5580d Add some more verbiage to man page's directions for pg_upgrade. 1999-07-31 22:05:48 +00:00
Bruce Momjian d41754cea2 Fix description of psql flags -t and -q. 1999-07-30 00:59:50 +00:00
Bruce Momjian a06fd1f316 Update TODO list. 1999-07-28 17:52:31 +00:00
Bruce Momjian 8bc25734a1 Update TODO list. 1999-07-28 17:51:41 +00:00
Bruce Momjian bb68f6eaa6 Update TODO list. 1999-07-28 00:09:49 +00:00
Bruce Momjian 434df3fb7a Update TODO list. 1999-07-26 20:12:33 +00:00
Bruce Momjian 32a505e897 Update TODO list. 1999-07-26 15:28:32 +00:00
Thomas G. Lockhart f2f43efbe1 Complete merge of all old man page information.
lisp.sgml is a placeholder for Eric Marsden's upcoming contribution.
catalogs.sgml is not yet marked up or integrated.
 It should perhaps become an appendix.
1999-07-22 15:11:05 +00:00
Thomas G. Lockhart a27512e634 Complete merge of all old man page information.
ecpg reference page still needs formatting.
1999-07-22 15:09:15 +00:00
Bruce Momjian 991b82ee13 Update TODO list. 1999-07-20 23:05:50 +00:00
Bruce Momjian a2b619a1f0 Update TODO list. 1999-07-20 21:43:18 +00:00
Bruce Momjian 7746a2db36 Update TODO list. 1999-07-20 17:24:36 +00:00
Bruce Momjian a2bb39c738 Update TODO list. 1999-07-20 17:16:25 +00:00
Bruce Momjian 49e92caba0 Update TODO list. 1999-07-19 00:50:43 +00:00
Bruce Momjian d6f26e6451 Update for 6.6. 1999-07-18 18:06:42 +00:00
Bruce Momjian a927d6ea4e configure cleanup 1999-07-18 18:03:50 +00:00
Bruce Momjian fe1f757e56 Update TODO list. 1999-07-17 16:47:46 +00:00
Bruce Momjian d9901793f7 Update TODO list. 1999-07-17 03:07:10 +00:00
Bruce Momjian 773088809d More cleanup 1999-07-16 17:07:40 +00:00
Thomas G. Lockhart 4d5aa343de Fix conflicting id tags (sql.sgml also used "select-title"). 1999-07-16 14:32:06 +00:00
Bruce Momjian ba42b68977 Update TODO list. 1999-07-16 05:06:34 +00:00
Thomas G. Lockhart 3c4447fd97 Complete markup for docbook2man support.
Fix synopsis info thanks to Yves.Martin@ensimag.imag.fr.
1999-07-15 16:31:16 +00:00
Thomas G. Lockhart f2738394d6 Add id label to allow cross referencing. 1999-07-15 15:49:18 +00:00
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
Bruce Momjian 0df761420d Update TODO list. 1999-07-15 13:46:16 +00:00
Thomas G. Lockhart d72168d6e0 Complete first pass at markup adjustments for docbook2man man pages.
Add some internal cross references to select.sgml.
1999-07-14 20:32:59 +00:00
Thomas G. Lockhart d289011f8a Include gif omitted from integrated doc.
Thanks to Goran Uddeborg for spotting this.
1999-07-14 20:31:42 +00:00
Bruce Momjian 0ab1c117e8 Update TODO list. 1999-07-13 18:38:11 +00:00
Bruce Momjian c4747c7866 Update TODO list. 1999-07-13 03:07:20 +00:00
Bruce Momjian 941d426ca0 Update install file. 1999-07-12 17:33:36 +00:00
Bruce Momjian d0fb48818a Update 6.5.1 items. 1999-07-12 02:27:31 +00:00
Tatsuo Ishii 32a1a4e54f document updated for 6.5.1 1999-07-11 22:59:26 +00:00
Bruce Momjian 2859bde109 Update release notes. 1999-07-11 18:02:59 +00:00
Bruce Momjian f8d856af2c Add Tom's group by fixes. 1999-07-11 03:57:58 +00:00
Bruce Momjian 8c32f99f67 Update TODO list. 1999-07-11 02:02:13 +00:00
Bruce Momjian aece668947 Add new item from Tom Lane sorting. 1999-07-10 18:38:16 +00:00
Bruce Momjian bc5f34c89e Update release notes. 1999-07-10 17:26:09 +00:00
Bruce Momjian 04bfc5bbdf Update release for 6.5.1. 1999-07-10 17:16:05 +00:00
Bruce Momjian 5a3fa95c39 Update stuff for 6.5.1 release. 1999-07-10 16:28:02 +00:00
Bruce Momjian 7d23fc5935 update readme.nt 1999-07-09 21:46:14 +00:00
Bruce Momjian 103cf75651 Re-apply range check patch after fixing LIMIT_H test and defines. 1999-07-09 17:40:31 +00:00
Bruce Momjian cd5dfb65a9 Add mention block size <= 32k. 1999-07-09 16:56:44 +00:00
Bruce Momjian 8aa780bdd3 cleanup 1999-07-09 04:51:27 +00:00
Bruce Momjian 62cc8bf7c4 Update TODO list. 1999-07-09 04:20:22 +00:00
Bruce Momjian 296efd8065 Fix for ACL length problem on different platforms. 1999-07-09 03:28:53 +00:00
Bruce Momjian eee5243dc8 Update TODO 1999-07-08 05:04:49 +00:00
Bruce Momjian 2e09df9d9f Update. 1999-07-08 05:02:09 +00:00
Bruce Momjian 6276c035f8 Update todo 1999-07-08 05:01:25 +00:00
Bruce Momjian 4048d540c6 Update TODO. 1999-07-08 03:34:00 +00:00
Bruce Momjian 879d1aeb58 New TODO list. 1999-07-08 03:33:19 +00:00
Bruce Momjian 2cf2a4fe2b > In both datetime_trunc() and timespan_trunc() in dt.c,
> the DTK_MICROSEC case is just like the DTK_MILLISEC case.
> I think this is wrong and it ought to look like
>         fsec = rint(fsec * 1000000) / 1000000;
> no?

Tom Lane.
1999-07-08 03:22:46 +00:00
Bruce Momjian 70ce98b77a Rename pg_temp to pg_sorttemp so it does not conflict with temp table names. 1999-07-08 02:46:39 +00:00
Bruce Momjian a6c688d9cd Irix update from Mark Dalphin 1999-07-08 00:15:03 +00:00
Bruce Momjian 104d6c816e Add ^ precidence. 1999-07-08 00:00:43 +00:00
Bruce Momjian 38ff52c379 Allow port numbers 32k - 64k. 1999-07-07 17:17:50 +00:00
Bruce Momjian 517da8b5fa Newer README.NT. 1999-07-07 16:41:18 +00:00
Bruce Momjian 1391098851 Fix misspelling. 1999-07-07 09:11:15 +00:00
Bruce Momjian ab1b88fd0d Add new TODO file to CVS tree. 1999-07-06 20:41:22 +00:00
Thomas G. Lockhart 07c0de7d9d Update makefile to generate man pages.
Include first cut at instructions for man pages in docguide.sgml.
Fix markup.
1999-07-06 17:19:42 +00:00
Thomas G. Lockhart 7b09d4bacb Add missing paragraph end tag. 1999-07-06 17:18:31 +00:00
Thomas G. Lockhart 1e723ff015 Fix some markup, but probably not finished yet... 1999-07-06 17:17:31 +00:00
Thomas G. Lockhart a4ac2f458e Fix markup for docbook2man man page generation.
No big deal; fixed lots of other markup at the same time.
Bigest change: make sure there is no whitespace
 in front of <term> contents.
This will probably help the other output types too.
1999-07-06 17:16:42 +00:00
Thomas G. Lockhart 192a66e3da Include rules for building a man tar file. 1999-07-06 17:13:50 +00:00
Bruce Momjian 51ae21316f Add files to point to TODO list. 1999-07-01 05:31:22 +00:00
Thomas G. Lockhart 69c617e9a1 Remove User's Guide entities since they were not being used. 1999-06-23 06:21:19 +00:00
Thomas G. Lockhart 3143220b15 Add information on generating INSTALL and HISTORY from sgml sources. 1999-06-23 06:19:36 +00:00
Thomas G. Lockhart f8a9892daf Clarify input/output timezone information.
Add detail on exact interpretation of "concatenated date"
 for various lengths.
1999-06-23 06:17:51 +00:00
Thomas G. Lockhart b32ffb7345 Add backup/restore info to Admin Guide.
Split management chapter from start-ag.sgml to manage-ag.sgml.
1999-06-23 06:15:37 +00:00
Thomas G. Lockhart 66ef1b6ebd Minor changes to Fred Horsh's updates. 1999-06-23 06:12:31 +00:00
Thomas G. Lockhart cb88fd192b Update maximum identifier length from 15 to 31 characters. 1999-06-23 06:09:57 +00:00
Bruce Momjian 79bba23528 The references to mailing lists in the resources page seem outdated.
Patch attached.

Fred Horch
1999-06-21 15:23:58 +00:00
Bruce Momjian 8baa8fcf46 Some suggestions to clarify the current status of PostgreSQL. Patch
attached.

Fred Horch
1999-06-21 15:12:19 +00:00
Bruce Momjian 4c65382596 Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGN
for Irix.
1999-06-17 15:16:09 +00:00
Bruce Momjian 6f4bd30c77 Add NT readme file. 1999-06-16 18:09:59 +00:00
Thomas G. Lockhart 1b93294ff5 Fix cross-reference to large objects. 1999-06-14 16:33:46 +00:00
Thomas G. Lockhart c799ea0cc1 Fix cross-reference to large objects in the CREATE TYPE section. 1999-06-14 16:32:41 +00:00
Thomas G. Lockhart bee3f85a35 Put in CREATE TABLE AS and SELECT INTO reference pages.
Left them out after splitting them
 from the CREATE TABLE and SELECT sources.
1999-06-14 07:41:04 +00:00
Thomas G. Lockhart 1ac838edba Minor updates for release.
Split reference pages for CREATE TABLE AS and SELECT INTO to allow psgml
 (the emacs parser) to handle parsing.
1999-06-14 07:37:05 +00:00
Thomas G. Lockhart 5e84d58e70 Minor updates for release. 1999-06-14 07:36:12 +00:00
Thomas G. Lockhart 50d2e68ad5 HTML versions of docs for v6.5 release. 1999-06-14 06:59:34 +00:00
Thomas G. Lockhart 93b7b5bf42 Fix URL for Norm Walsh's Style Sheets. 1999-06-14 06:56:31 +00:00
Thomas G. Lockhart 4210263397 Fix typos and wording in v6.5 release summary per Fred Horsh. 1999-06-14 06:55:45 +00:00
Thomas G. Lockhart 1cf01022e1 User's Guide for v6.5. 1999-06-14 06:25:03 +00:00
Vadim B. Mikheev 962c66d83f More about chained mode and isolation levels. 1999-06-11 05:19:53 +00:00
Thomas G. Lockhart 878d952084 Add mention of hot backups to the release notes.
Add id tags to chapter and section headings to ensure good labels
 on output html files.
1999-06-09 13:44:59 +00:00
Thomas G. Lockhart 3f86238f13 Make minor changes in wording.
Adjust tags to get a clean build.
1999-06-09 13:43:42 +00:00
Vadim B. Mikheev c0b4b42c92 MVCC updation. 1999-06-08 20:01:01 +00:00
Bruce Momjian 0bb2c0673c Fix for duplicate LC_COLLATE 1999-06-08 16:42:55 +00:00
Bruce Momjian ca485d053b Add mention of new pg_dump feature. 1999-06-08 16:42:10 +00:00
Bruce Momjian 4b8fa62f84 Install proper Irix FAQ. 1999-06-08 16:27:26 +00:00
Bruce Momjian 06385ccbd5 Update TODO. 1999-06-07 02:42:07 +00:00
Bruce Momjian 977108e8d9 New FAQ with commerical support mention. 1999-06-05 18:30:43 +00:00
Bruce Momjian 3fd4755ee3 Update faq and hpux faq. 1999-06-05 18:24:55 +00:00
Bruce Momjian bf1dd3ec40 Update FAQ's for release. 1999-06-05 03:43:07 +00:00
Bruce Momjian bafe9e500d Update with more TODO items. 1999-06-05 02:47:13 +00:00
Thomas G. Lockhart 7b5f84d12d Add blurb on new docs in release notes.
Make minor info and markup changes for v6.5 release.
1999-06-04 15:51:42 +00:00
Thomas G. Lockhart ebfbb79f25 Add input parameters for LOCK TABLE. Still needs explanation from Vadim.
Fix markup.
1999-06-04 15:50:44 +00:00
Thomas G. Lockhart 39fc813951 May as well keep an ApplixWare version of this file too. 1999-06-04 06:31:14 +00:00
Thomas G. Lockhart a9ce743a02 Hardcopy for v6.5 release. 1999-06-04 06:24:02 +00:00
Bruce Momjian f0f416a2d3 Add mention of SHARE ROW EXCLUSIVE mode. 1999-06-04 04:28:54 +00:00
Bruce Momjian 8760d33abb man page cleanup for vadim. 1999-06-04 04:16:11 +00:00
Bruce Momjian 5a7547d3fc Add description for SET TRANSACTION. 1999-06-04 03:44:42 +00:00
Bruce Momjian 0bddf3da81 cleanup 1999-06-03 20:45:08 +00:00
Bruce Momjian a6ed4794a3 SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
                                ^^^^ required

Also note that SET TRANSACTION ISOLATION LEVEL change
isolevel for _current_ transaction, in accordance with
standard, not for session (ALTER SESSION is used in Oracle,
but it's not implemented currently).

And I would don't mention SET XACTISOLEVEL TO ...
form at all.

Please update set.sgml - I failed to understand all these

SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">

now.


for Vadim
1999-06-03 20:44:28 +00:00
Bruce Momjian 155b5808ca Thanks for this, but SET TRANSACTION ISOLATION LEVEL
should be described like SET TIME ZONE: TO is not allowed, as well
as DEFAULT option. There are only two forms:

for Vadim.
1999-06-03 20:42:18 +00:00
Bruce Momjian a40bac0d1d Update of release notes with new items. 1999-06-03 20:40:50 +00:00
Bruce Momjian a4a5f56202 Add mention of FOR UPDATE and LIMIT/OFFSET> 1999-06-03 19:52:09 +00:00
Bruce Momjian e1ea7cc2e5 Update lock sgml/man/psql help pages. 1999-06-03 19:18:00 +00:00
Bruce Momjian 4a077caa60 Add SET TRANSACTION ISOLATION LEVEL and SET NAMES mention. 1999-06-03 18:38:00 +00:00
Bruce Momjian fa0ed6f047 Update SET commands for psql \h, man pages, and sgml. 1999-06-03 18:18:43 +00:00