Commit Graph

731 Commits

Author SHA1 Message Date
Bruce Momjian e1b212ff3b Move ipc patch into README.NT. 1999-12-29 10:28:00 +00:00
Bruce Momjian ad322de0ae Update developers faq. 1999-12-24 16:46:11 +00:00
Bruce Momjian a0fa26bef6 Update developers faq in main tree. 1999-12-21 17:34:05 +00:00
Bruce Momjian 1c2257648a > > It would be nice for new users; I think it would make it easier
> > for them to actually set out and do it.  Many new users are
> > of the not-so-knowledgable variety, and shell scripting isn't
> > something they want to undertake.
>
> Can someone modify the vacuumdb shell script to do that?
i tried it... it seems to work

neko@kredit.sth.sz
1999-12-18 08:34:50 +00:00
Thomas G. Lockhart 97710d9f5a Fix typo in tag. 1999-12-17 14:52:51 +00:00
Bruce Momjian 83bad7c063 This is my -- hopefully sufficiently portable -- attempt at cleaning out
initdb. No more obscure dependencies on environment variables or paths.
It
now finds the templates and the right postgres itself (with cmd line
options as fallback). It also no longer depends on $USER (su safe), and
doesn't advertise that --username allows you to install the db as a
different user, since that doesn't work anyway. Also, recovery and
cleanup
on all errors. Consistent options, clearer documentation.

Please take a look at this and adopt it if you feel it's safe enough. I
have simulated all the stupid circumstances I could think of, but you
never know with shell scripts.

Oh yeah, you can give the postgres user a default password now.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-12-17 01:05:31 +00:00
Bruce Momjian 4cb1fb6f59 Update for QNX. 1999-12-16 16:52:53 +00:00
Bruce Momjian 549a8ba59a > From what I gather, this should be a little cleaner because the
triggered
> function now returns the right datatype.

Oops, I got crossed up with Jan's improvements. Ignore this.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
1999-12-14 00:17:33 +00:00
Bruce Momjian bcaabc5698 Depending on my interpreting (and programming) skills, this might solve
anywhere from zero to two TODO items.

* Allow flag to control COPY input/output of NULLs

I got this:
COPY table .... [ WITH NULL AS 'string' ]
which does what you'd expect. The default is \N, otherwise you can use
empty strings, etc. On Copy In this acts like a filter: every data item
that looks like 'string' becomes a NULL. Pretty straightforward.

This also seems to be related to

* Make postgres user have a password by default

If I recall this discussion correctly, the problem was actually that the
default password for the postgres (or any) user is in fact "\N", because
of the way copy is used. With this change, the file pg_pwd is copied out
with nulls as empty strings, so if someone doesn't have a password, the
password is just '', which one would expect from a new account. I don't
think anyone really wants a hard-coded default password.

Peter Eisentraut                  Sernanders väg 10:115
1999-12-14 00:08:21 +00:00
Tom Lane ff6fe1502d Update documentation to reflect availability of aggregate(DISTINCT).
Try to provide a more lucid discussion in 'Using Aggregate Functions'
tutorial section.
1999-12-13 17:39:38 +00:00
Bruce Momjian cb00b7faa5 I'm in TODO mood today ...
* Document/trigger/rule so changes to pg_shadow recreate pg_pwd

I did it with a trigger and it seems to work like a charm. The function
that already updates the file for create and alter user has been made a
built-in "SQL" function and a trigger is created at initdb time.

Comments around the pg_pwd updating function seem to be worried about
this
routine being called concurrently, but I really don't see a reason to
worry about this. Verify for yourself. I guess we never had a system
trigger before, so treat this with care, and feel free to adjust the
nomenclature as well.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-12-12 05:57:36 +00:00
Bruce Momjian 11023eb1f5 Meanwhile, database names with single quotes in names don't work very well
at all, and because of shell quoting rules this can't be fixed, so I put
in error messages to that end.

Also, calling create or drop database in a transaction block is not so
good either, because the file system mysteriously refuses to roll back rm
calls on transaction aborts. :) So I put in checks to see if a transaction
is in progress and signal an error.

Also I put the whole call in a transaction of its own to be able to roll
back changes to pg_database in case the file system operations fail.

The alternative location issues I posted recently were untouched, awaiting
the outcome of that discussion. Other than that, this should be much more
fool-proof now.

The docs I cleaned up as well.

Peter Eisentraut                  Sernanders väg 10:115
1999-12-12 05:15:10 +00:00
Bruce Momjian e6ac08c398 Update TODO list. 1999-12-11 00:31:37 +00:00
Bruce Momjian cb0032cdcf Update for QNX from Kardos, Dr. Andrea 1999-12-09 15:56:16 +00:00
Bruce Momjian a0aab48fcd Okay, that should put us back in sync. These two patches (src & doc) are
against the sources from one hour ago and contain all the portable and
up
to date stuff.

A few other CVS "householding" things you might want to take care of:

* Remove the src/bin/cleardbdir directory

* Remove the file src/bin/psql/sql_help.h from the repository, as it is
a derived file and is build by the release_prep.

Peter Eisentraut
1999-12-07 22:41:44 +00:00
Thomas G. Lockhart 1d8ce77233 Update entries with recent results for Alpha and ARM processors.
Remove references to Ultrix; haven't heard from it for a *long* time :(
1999-12-06 16:40:45 +00:00
Thomas G. Lockhart b7f6168516 Fix markup (a couple of missing tags) and renormalize. 1999-12-06 16:38:25 +00:00
Thomas G. Lockhart b6332952b7 Remove references to PostgreSQL as "public-domain" since that has a
specific meaning wrt copyright (or lack thereof).
1999-12-06 16:37:11 +00:00
Bruce Momjian 7657bce7a0 Clean up doc/Makefile to install manual pages. 1999-12-05 21:23:00 +00:00
Bruce Momjian 60ae5ed037 Remove destroylang.sgml. 1999-12-05 20:29:18 +00:00
Bruce Momjian d7857e5713 Update. 1999-12-05 20:22:00 +00:00
Bruce Momjian 66f8da0756 Update 1999-12-05 20:04:42 +00:00
Bruce Momjian ed62104ea9 I cleaned those out as well (the echo -n "bug" was in there ;) and moved
them into the scripts dir. I also added a --list option to show already
installed languages.

This whole moving and renaming totally confused CVS and my checked out
copy got completely fried last night. When you apply the source patch,
please make sure that all the directories src/bin/{create|destroy}* as
well as vacuumdb, cleardbdir are gone and that all the scripts (7) are
in
scripts/.

Meanwhile I am still puzzled about what happened with the docs patch.
Because I don't know what you got now, the second attachment contains
the
files

ref/allfiles.sgml
ref/commands.sgml
ref/createlang.sgml
ref/droplang.sgml
doc/src/sgml/Makefile

Peter Eisentraut                  Sernanders väg 10:115
1999-12-05 20:02:49 +00:00
Bruce Momjian e2b71e0839 Re-add destroylang. 1999-12-04 12:50:54 +00:00
Bruce Momjian e958a30542 Update scripts from Peter. 1999-12-04 05:03:49 +00:00
Bruce Momjian 240e4c98f5 New scripts for create/drop user/db from Peter Eisentraut 1999-12-04 04:53:22 +00:00
Bruce Momjian eebfb9baa5 create/alter user extension
This one should work much better than the one I sent in previously. The
functionality is the same, but the patch was missing one file resulting
in
the compilation failing. The docs also received a minor fix.

Peter Eisentraut                  Sernanders väg 10:115
1999-11-30 03:57:29 +00:00
Bruce Momjian 3ab5b1f1e6 This patch (against the current CVS sources) adds to libpq the functions
PQconnectStart
PQconnectPoll
PQresetStart
PQresetPoll
PQsetenvStart
PQsetenvPoll
PQsetenvAbort

and brings into the published interface

PQsetenv.

The first four are asynchronous analogues of PQconnectdb and PQreset -
they allow an application to connect to the DB without blocking on
remote I/O.

The PQsetenv functions perform an environment negotiation with the
server.

Internal to libpq, pqReadReady and pqWriteReady have been made available
across the library (they were previously static functions inside
fe-misc.c).  A lot of internal rearrangement has been necessary to
support these changes.

The API documentation has been updated also.

Caveats:

  o  The Windows code does not default to using non-blocking sockets,
since I have no documentation: Define WIN32_NON_BLOCKING_CONNECTIONS to
do that.

  o  The SSL code still blocks.


Ewan Mellor.
1999-11-30 03:08:19 +00:00
Bruce Momjian daf6ffb6f0 Update TODO list. 1999-11-30 02:14:13 +00:00
Tom Lane fb55fa0478 Remove obsolete note about pg_vlock lock file. 1999-11-28 02:17:43 +00:00
Bruce Momjian 1592c3179f Update TODO list. 1999-11-26 04:38:59 +00:00
Bruce Momjian 78bc83fedf * Includes tab completion. It's not magic, but it's very cool. At any
rate
  it's better than what used to be there.

* Does proper SQL "host variable" substitution as pointed out by Andreas
  Zeugwetter (thanks): select * from :foo; Also some changes in how ':'
  and ';' are treated (escape with \ to send to backend). This does
_not_
  affect the '::' cast operator, but perhaps others that contain : or ;
  (but there are none right now).

* To show description with a <something> listing, append '?' to command
  name, e.g., \df?. This seemed to be the convenient and logical
solution.
  Or append a '+' to see more useless information, e.g., \df+.

* Fixed fflush()'ing bug pointed out by Jan during the regression test
  discussion.

* Added LastOid variable. This ought to take care of TODO item "Add a
  function to return the last inserted oid, for use in psql scripts"
  (under CLIENTS)
  E.g.,
insert into foo values(...);
insert into bar values(..., :LastOid);
\echo $LastOid

* \d command shows constraints, rules, and triggers defined on the table
  (in addition to indices)

* Various fixes, optimizations, corrections

* Documentation update as well


Note: This now requires snprintf(), which, if necessary, is taken from
src/backend/port. This is certainly a little weird, but it should
suffice
until a source tree cleanup is done.

Enjoy.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-11-26 04:24:17 +00:00
Bruce Momjian f0e18e967c Cleanup paths in install files. 1999-11-23 18:24:55 +00:00
Bruce Momjian a895cb7837 Change v6.5.2 to 6.5.2. 1999-11-23 18:08:07 +00:00
Bruce Momjian 90e0b668a4 Update TODO list. 1999-11-22 18:05:47 +00:00
Bruce Momjian fc955b14ea Add system indexes to match all caches.
Make all system indexes unique.
Make all cache loads use system indexes.
Rename *rel to *relid in inheritance tables.
Rename cache names to be clearer.
1999-11-22 17:56:41 +00:00
Bruce Momjian 106ded2a6e Update TODO list. 1999-11-14 05:11:02 +00:00
Bruce Momjian d286f13b47 Update NT readme with new name. 1999-11-12 17:05:08 +00:00
Bruce Momjian 6b99fcf3e2 Update for documentation in libpq changes. 1999-11-11 21:52:28 +00:00
Bruce Momjian c6c60302ba Cleanup of psql \copyright 1999-11-10 01:22:37 +00:00
Bruce Momjian 32edd98519 Update TODO list. 1999-11-06 16:55:05 +00:00
Bruce Momjian 5e3189eaff Update psql banner 1999-11-05 18:21:09 +00:00
Bruce Momjian e9a5030977 Update TODO list. 1999-11-05 16:38:54 +00:00
Bruce Momjian f793ac0a16 Update psql display. 1999-11-05 15:44:57 +00:00
Bruce Momjian 83c30df0e9 Update TODO list. 1999-11-05 01:04:59 +00:00
Bruce Momjian 5e956342de Update man pages for new banner. 1999-11-05 00:57:39 +00:00
Bruce Momjian 2323b63631 Update psql with man pages and new version of help. 1999-11-04 22:07:57 +00:00
Bruce Momjian 33a5c0ead1 Update for 6.5.3. 1999-11-01 16:20:46 +00:00
Bruce Momjian 557ca54dce Update TODO list. 1999-10-31 13:19:42 +00:00
Bruce Momjian 23229f49a8 Update TODO list. 1999-10-31 13:10:47 +00:00
Bruce Momjian 60f3e6b3a5 Make USING in COPY optional. 1999-10-29 23:52:22 +00:00
Bruce Momjian 964c649cc1 Update TODO list. 1999-10-27 18:28:59 +00:00
Bruce Momjian aeef71718a Add mention of NULL for COMMENT. 1999-10-26 16:36:28 +00:00
Bruce Momjian 9e44249b6e update 1999-10-26 05:16:00 +00:00
Bruce Momjian c5884e03ac Update TODO list. 1999-10-26 04:59:12 +00:00
Bruce Momjian 021146f375 improve manual page 1999-10-26 04:40:58 +00:00
Bruce Momjian 2c212b2c54 Update TODO list. 1999-10-26 04:21:59 +00:00
Bruce Momjian c6626d2fdc Update TODO list. 1999-10-26 04:12:34 +00:00
Bruce Momjian 912b3a6fe9 More comments. 1999-10-26 03:53:35 +00:00
Bruce Momjian b6d6cffa99 Add documentation for comment. 1999-10-26 03:48:58 +00:00
Bruce Momjian 5374f3e7bb Update TODO list. 1999-10-22 11:51:12 +00:00
Bruce Momjian 768064de54 Update TODO list. 1999-10-21 16:58:49 +00:00
Bruce Momjian d07766fb50 Update TODO list. 1999-10-18 01:12:51 +00:00
Bruce Momjian e16db38376 Clean up type descriptions. 1999-10-15 04:56:52 +00:00
Bruce Momjian 55fa71a9e9 Add S-tree doc for possible future use. 1999-10-15 01:47:55 +00:00
Bruce Momjian 2d12ee3f71 Update psql \? for \w. 1999-10-14 01:28:42 +00:00
Bruce Momjian e3dd4942c7 Update for NUMERIC/DECIMAL data type. 1999-10-13 02:44:23 +00:00
Bruce Momjian 4fa0fd22a3 Update sgml. 1999-10-12 15:48:47 +00:00
Bruce Momjian 867d047372 Update for 6.5.3, including new INSTALL file and updated HISTORY. 1999-10-12 15:34:19 +00:00
Thomas G. Lockhart 5a2085392c Fix bad markup.
<term> not allowed in paragraphs; <option> is a better choice.
1999-10-12 13:59:45 +00:00
Thomas G. Lockhart fac9e11878 Add DEC and SESSION_USER as reserved words.
Move around a few other keywords which were not in the right category.
DEC and SESSION_USER are not yet committed to gram.y,
 since I'm in the middle of working on JOIN syntax too.
1999-10-12 13:58:53 +00:00
Thomas G. Lockhart 757f832d18 Sequence of date interpretation not quite right. 1999-10-12 13:57:04 +00:00
Bruce Momjian 6da92d94bc Update TODO list. 1999-10-11 13:42:25 +00:00
Thomas G. Lockhart 0cfd97ecf2 Remove rogue </book> tag left in from normalizing this chapter in emacs. 1999-10-09 02:30:02 +00:00
Thomas G. Lockhart 70320b5bf7 Repair markup for sgmltools writeup.
Fix indenting and make other minor markup improvements.
1999-10-09 02:29:15 +00:00
Thomas G. Lockhart fc32c709b4 Minor repairs of markup. 1999-10-09 02:26:52 +00:00
Bruce Momjian ae61ef34bd Cleanup -is flag to -l for SSL. Another PERL variable name fix. Clean
up debugging options for postmaster and postgres programs.  postmaster
-d is no longer optional.  Documentation updates.
1999-10-08 04:28:57 +00:00
Bruce Momjian 558833cadd Add quotes to password example. 1999-10-07 16:40:36 +00:00
Bruce Momjian c167863f3c Update TODO list. 1999-10-06 13:46:54 +00:00
Bruce Momjian 9ee60db50e Update TODO list. 1999-10-06 13:36:50 +00:00
Bruce Momjian 0eac2922ec Update TODO list. 1999-10-05 21:13:31 +00:00
Bruce Momjian 86210e9d39 Update sgmltools install instructions. 1999-10-05 18:55:45 +00:00
Bruce Momjian d71ef47a70 Update TODO list. 1999-10-05 15:51:53 +00:00
Bruce Momjian dab3775329 Update sgmltools for docs. 1999-10-04 17:05:51 +00:00
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