Commit Graph

1154 Commits

Author SHA1 Message Date
Bruce Momjian
5d93742b8d You will need to copy "config.h.win32" to "config.h" in the include
directory.

I think this patch to the docs should be what is needed.

 Magnus Hagander
2000-02-10 15:47:58 +00:00
Bruce Momjian
b1b8fc813f Update length to 31. 2000-02-10 04:08:25 +00:00
Bruce Momjian
1a03ab9c87 Update TODO list. 2000-02-09 20:09:29 +00:00
Bruce Momjian
394af52795 I'm sending patch with new version of to_char numbers formatting.
The PostgreSQL's to_char() is very compatible with Oracle's to_char
 now. I hope that to_char's 3000 rows of source is without bugs, but
 will good if anyone test it, for me it works very well :-)


                                                        Karel

----------------------------------------------------------------------
Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
2000-02-08 15:57:01 +00:00
Peter Eisentraut
9ceb5d8a7b Fixed psql double quoting of SQL ids
Fixed libpq printing functions
2000-02-07 23:10:11 +00:00
Bruce Momjian
a64d3bc433 Solaris has always had problems with 1947 in the
regression tests so I prepared a set of expected
files to make things look OK.

There's also a file to account for minor variations
in the geopmetry output and a resultmap patch to
pull them all together.

With these changes PostgreSQL, from CVS, builds and
regression tests (runcheck) cleanly.

Keith Parks.
2000-02-06 05:09:42 +00:00
Bruce Momjian
dd14cd63be Update TODO list. 2000-02-05 17:02:43 +00:00
Bruce Momjian
7932f86c53 Update TODO list. 2000-02-04 22:41:28 +00:00
Bruce Momjian
df035f762a Update TODO list. 2000-02-04 05:04:55 +00:00
Bruce Momjian
16d0adb93f Update TODO list. 2000-02-03 12:22:33 +00:00
Thomas G. Lockhart
83fd594a3d Add short chapter in developer's guide on formatting source code. 2000-02-02 16:25:04 +00:00
Thomas G. Lockhart
6454ae37a5 Add information on QNX port from Andreas Kardos. 2000-02-02 16:24:19 +00:00
Thomas G. Lockhart
215935daa3 Remove extraneous end tag. Code now compiles cleanly. 2000-02-02 16:23:37 +00:00
Thomas G. Lockhart
acaa064fa8 Add info on debian package installation of sgml toolkits. 2000-02-02 16:22:45 +00:00
Thomas G. Lockhart
fd54baa945 Add detailed information on Australian time zones. 2000-02-02 16:21:06 +00:00
Thomas G. Lockhart
911fc20c41 Update with current summary information on pgadmin.
From pgadmin author on 99-12-24.
2000-02-02 16:19:54 +00:00
Bruce Momjian
98c6e81e94 Update TODO list. 2000-01-29 17:25:46 +00:00
Peter Eisentraut
2b84cbb60f A few minor psql enhancements
Initdb help correction
Changed end/abort to commit/rollback and changed related notices
Commented out way old printing functions in libpq
Fixed a typo in alter table / alter column
2000-01-29 16:58:54 +00:00
Bruce Momjian
1380921e65 Patch from Hiroshi for overflow btree comparison. 2000-01-28 17:23:47 +00:00
Bruce Momjian
3f6ff32972 Update TODO list. 2000-01-28 04:47:49 +00:00
Bruce Momjian
a85b67d05b Update TODO list. 2000-01-28 03:46:06 +00:00
Bruce Momjian
552bd9645c Update TODO list. 2000-01-28 03:40:34 +00:00
Tom Lane
dd979f66be Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now
SELECT DISTINCT ON (expr [, expr ...]) targetlist ...
and there is a check to make sure that the user didn't specify an ORDER BY
that's incompatible with the DISTINCT operation.
Reimplement nodeUnique and nodeGroup to use the proper datatype-specific
equality function for each column being compared --- they used to do
bitwise comparisons or convert the data to text strings and strcmp().
(To add insult to injury, they'd look up the conversion functions once
for each tuple...)  Parse/plan representation of DISTINCT is now a list
of SortClause nodes.
initdb forced by querytree change...
2000-01-27 18:11:50 +00:00
Bruce Momjian
b866d2e2d7 as attache of this mail is patch (to the main tree) with to_char's
family functions. Contain:

  conversion from a datetype to formatted text:

	to_char( datetime, 	text)
	to_char( timestamp,	text)
	to_char( int4,		text)
	to_char( int8,		text)
	to_char( float4,	text)
	to_char( float8,	text)
	to_char( numeric,	text)

  vice versa:

	to_date		( text, text)
	to_datetime	( text, text)
	to_timestamp	( text, text)
	to_number	( text, text)	   (convert to numeric)


  PostgreSQL to_char is very compatible with Oracle's to_char(), but not
total exactly (now). Small differentions are in number formating. It will
fix in next to_char() version.


! If will this patch aplly to the main tree, must be delete the current
  to_char version in contrib (directory "dateformat" and note in contrib's
  README), this patch not erase it (sorry Bruce).



The patch patching files:

	doc/src/sgml/func.sgml
                     ^^^^^^^^
   Hmm, I'm not sure if my English... :( Check it anyone (volunteer)?

   Thomas, it is right? SGML is not my primary lang  and compile
   the current PG docs tree is very happy job (hard variables setting in
   docs/sgml/Makefile --> HSTYLE= /home/users/t/thomas/....  :-)

   What add any definition to global configure.in and set Makefiles in docs
   tree via ./configure?

	src/backend/utils/adt/Makefile
	src/backend/utils/adt/formatting.c
	src/include/catalog/pg_proc.h
	src/include/utils/formatting.h
Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
2000-01-25 23:53:56 +00:00
Tom Lane
90aaad06cf Remove obsolete references to 8K query limit. 2000-01-25 07:04:04 +00:00
Bruce Momjian
ca5771dc27 Update TODO list. 2000-01-24 22:27:59 +00:00
Peter Eisentraut
bdb41ad0e7 Made abstime/reltime use int4 instead of time_t (TODO item)
Made type equivalency apply to aggregates (TODO item)
Fixed parsing bug in psql
Reverted some stupid options changes I made to pg_dump
2000-01-24 19:34:19 +00:00
Tom Lane
0dbffa704a First cut at making useful selectivity estimates for range queries
(ie, WHERE x > lowbound AND x < highbound).  It's not very bright yet
but it does something useful.  Also, rename intltsel/intgtsel to
scalarltsel/scalargtsel to reflect usage better.  Extend convert_to_scalar
to do something a little bit useful with string data types.  Still need
to make it do something with date/time datatypes, but I'll wait for
Thomas's datetime unification dust to settle first.  Eventually the
routine ought not have any type-specific knowledge at all; it ought to
be calling a type-dependent routine found via a pg_type column; but
that's a task for another day.
2000-01-24 07:16:52 +00:00
Bruce Momjian
da5aba105f Remove Ops parameter from STATRELID cache lookup, for Tom Lane and
optimizer.
2000-01-24 02:12:58 +00:00
Bruce Momjian
4d564c5b12 Update TODO list. 2000-01-23 17:30:18 +00:00
Bruce Momjian
1161077e97 Update TODO list. 2000-01-23 03:28:54 +00:00
Bruce Momjian
0daf852b32 Update TODO list. 2000-01-23 03:19:05 +00:00
Peter Eisentraut
49581f9848 updated install file
updated date/time types doc
fixed small psql bug
removed libpq code that lower-cased db names
make notice when long identifier is truncated
2000-01-23 01:27:39 +00:00
Tom Lane
71ed7eb494 Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000.  The amopselect and amopnpages
estimators are gone, and in their place is a per-AM amcostestimate
procedure (linked to from pg_am, not pg_amop).
2000-01-22 23:50:30 +00:00
Bruce Momjian
3f51bdafdc Update TODO list. 2000-01-22 04:29:46 +00:00
Bruce Momjian
5b7bc48391 Update TODO list. 2000-01-21 03:55:22 +00:00
Bruce Momjian
901aaf34bd Update TODO list. 2000-01-21 00:45:29 +00:00
Bruce Momjian
e3415aa834 Rename 7.0.0 to 7.0 to be consistent with prior release numbering. 2000-01-20 22:21:30 +00:00
Peter Eisentraut
13f8875017 Added new pg_id to fix initdb problems
New INSTALL file
Fixed a copyright notice
2000-01-20 21:51:09 +00:00
Peter Eisentraut
65e0051843 another round of user interface cleanups
removed pg_id
fixed a few bugs in the scripts
2000-01-19 20:08:36 +00:00
Peter Eisentraut
f565cf41ab another set of cleanups 2000-01-18 23:30:24 +00:00
Bruce Momjian
41d4548b0f Freebsd update for sgml, from Alfred Perlstein 2000-01-18 06:10:54 +00:00
Bruce Momjian
10d7287ab9 Libpq non-blocking mode, from Alfred Perlstein 2000-01-18 06:09:24 +00:00
Peter Eisentraut
28125ed5e0 Updated user interfaces on initdb, initlocation, pg_dump, ipcclean to a GNU-compliant'ish state.
Made ipcclean work on Linux.
2000-01-18 00:03:37 +00:00
Bruce Momjian
6759f4388f Update TODO list. 2000-01-17 02:43:13 +00:00
Peter Eisentraut
759fba4873 Included all yacc and lex files into the distribution. 2000-01-16 20:05:00 +00:00
Bruce Momjian
1b6b4d40ed Update TODO list. 2000-01-16 07:05:35 +00:00
Bruce Momjian
fae5d81c68 Update TODO list. 2000-01-16 05:18:07 +00:00
Bruce Momjian
255e07e829 Update TODO list. 2000-01-16 02:35:30 +00:00
Bruce Momjian
3a2e08618c Update TODO list. 2000-01-16 02:32:13 +00:00
Bruce Momjian
0f4a586821 Update TODO list. 2000-01-15 19:32:06 +00:00
Peter Eisentraut
2a1bfbce24 - Allow array on int8
- Prevent permissions on indexes
- Instituted --enable-multibyte option and tweaked the MB build process where necessary
- initdb prompts for superuser password
2000-01-15 18:30:35 +00:00
Peter Eisentraut
7c9390caa1 Fixed psql variables vs array syntax, as well as minor psql enhancements 2000-01-14 22:18:03 +00:00
Peter Eisentraut
4ceb2d0cb6 * User management commands no longer user pg_exec_query_dest -> more robust
* Let unprivileged users change their own passwords.

* The password is now an Sconst in the parser, which better reflects its text datatype and also
forces users to quote them.

* If your password is NULL you won't be written to the password file, meaning you can't connect
until you have a password set up (if you use password authentication).

* When you drop a user that owns a database you get an error. The database is not gone.
2000-01-14 22:11:38 +00:00
Tom Lane
2af360ed1c Clean up some problems in new asynchronous-connection logic
in libpq --- mostly, poor response to error conditions.  You now actually
get to see the postmaster's 'The Data Base System is starting up' message,
which you didn't before.  I suspect the SSL code is still broken though.
2000-01-14 05:33:15 +00:00
Bruce Momjian
bb7e85fb85 Update TODO list. 2000-01-14 01:10:22 +00:00
Bruce Momjian
e419b48217 Update TODO list. 2000-01-13 13:22:05 +00:00
Bruce Momjian
3af969d4a0 Update TODO list. 2000-01-13 03:39:45 +00:00
Bruce Momjian
af53b624f0 Update TODO list. 2000-01-13 03:36:42 +00:00
Bruce Momjian
326a69deeb Update TODO list. 2000-01-13 03:06:29 +00:00
Bruce Momjian
e589b9e821 Update TODO list. 2000-01-13 02:38:21 +00:00
Bruce Momjian
7c25123df4 Update TODO list. 2000-01-13 01:57:04 +00:00
Bruce Momjian
c6035cd173 Update TODO list. 2000-01-13 01:48:46 +00:00
Peter Eisentraut
f6689a328f Fixed a few "fixes" and bugs. Adjusted messages and options to GNU suggestions. 2000-01-12 19:36:36 +00:00
Bruce Momjian
142ce7939d Update TODO list. 2000-01-11 12:11:20 +00:00
Tom Lane
ac295f43f5 Update struct Trigger definition. 2000-01-11 05:37:11 +00:00
Tom Lane
ac401e06c5 Change oid8/int28 -> oidvector/int2vector. 2000-01-11 01:40:04 +00:00
Bruce Momjian
752314eb26 Update TODO list. 2000-01-10 13:20:57 +00:00
Bruce Momjian
8cc9d8454b Update TODO list. 2000-01-10 04:23:58 +00:00
Tom Lane
b86ca72f39 Update platform-specific-expected-file support so that platforms can be
specified by regular-expression patterns.  Add some more files.
2000-01-09 20:54:36 +00:00
Bruce Momjian
aa48a22a82 The psql online help for ALTER TABLE (\h alter table) is corrupt. I
traced this back to what I believe is an error in the sgml file used to
generate this comment, found in pgsql/doc/src/sgml/ref/alter_table.sgml.


Stephen Birch
2000-01-09 17:35:27 +00:00
Bruce Momjian
b16bd18546 Clearify DECLARE syntax by saying cursorname, not just cursor. 1999-12-30 22:58:10 +00:00
Bruce Momjian
649ffe1616 Improve subquery error message, now says "More than one tuple returned
by subselect used as expression."
1999-12-29 22:57:17 +00:00
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
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
Thomas G. Lockhart
ee5764beff Minor markup fixes. 1999-06-03 16:13:54 +00:00
Thomas G. Lockhart
cb7dad1731 Make separate subsection for Vadim's MVCC notes.
Add timing info for v6.5 on my linux box.
1999-06-03 16:13:35 +00:00
Thomas G. Lockhart
29af124390 Fix markup and formatting. 1999-06-03 16:11:58 +00:00
Vadim B. Mikheev
fb4f5f7cac Notes in Migration to v6.5 section. 1999-06-03 07:11:50 +00:00
Thomas G. Lockhart
f3d2b2e0c7 Markup changes for v6.5 release.
Clean out duplicate stuff in odbc.sgml resulting from a faulty patch.
1999-06-03 04:21:51 +00:00
Thomas G. Lockhart
214e8f3292 CGM format from Hannu. Seem to have lost the .ag original :( 1999-06-03 04:20:32 +00:00
Thomas G. Lockhart
3d34943b92 New versions of hardcopy for 6.5 release. 1999-06-03 04:18:58 +00:00
Thomas G. Lockhart
8593e1ff09 Make sure that only one intro is included in the integrated doc.
Multiple intros cause trouble since they have some section elements
 (e.g. "y2k.sgml") in common leading to duplicate labels.
Include emacs formatting hints in the intro*.sgml sources.
1999-06-01 17:26:18 +00:00
Bruce Momjian
33c6d6099d Clean up mention of gmake vs. make. 1999-05-28 14:24:24 +00:00
Bruce Momjian
615e77ede2 Make pg_dump dump ACL's by default, print warning on use of -z, and add
new -x option to skip acl dump.
1999-05-27 16:29:05 +00:00
Thomas G. Lockhart
e53c51280b More info is in sgml and html docs so this is now obsolete. 1999-05-27 16:06:33 +00:00
Thomas G. Lockhart
39c02dfefa FAQs contributed for this release. 1999-05-27 16:05:38 +00:00
Thomas G. Lockhart
5b1b477cca Markup fixes. 1999-05-27 15:49:15 +00:00
Thomas G. Lockhart
b805230906 Markup fixes.
Update for v6.5 release.
1999-05-27 15:49:08 +00:00
Thomas G. Lockhart
7d831b5379 Significant updates from Vince Vielhaber. 1999-05-27 15:48:14 +00:00
Thomas G. Lockhart
b04b01638b Remove disclaimer about exact numeric types. They work now! 1999-05-27 15:47:28 +00:00
Thomas G. Lockhart
8a3c7535c5 Refresh FreeBSD info. 1999-05-27 15:46:22 +00:00
Thomas G. Lockhart
d6efbf1956 Significant update from Vince Vielhaber. 1999-05-27 15:44:54 +00:00
Bruce Momjian
874957a32a Update release notes for 6.5. 1999-05-27 15:13:43 +00:00
Bruce Momjian
5fec534f4b Clean up release sgml file. 1999-05-27 15:05:57 +00:00
Thomas G. Lockhart
9474dd7ed6 Add chapters on CVS access, MVCC, SQL theory to the docs.
Add an appendix with more details on date/time attributes and handling.
Update most references to Postgres version numbers to 6.5,
 *except* for the porting list which will require a report
 from a successful installation to be updated.
1999-05-26 17:30:30 +00:00
Thomas G. Lockhart
0807dbb294 Chapter on multi-version concurrency control from Vadim.
Some wording changes from Vadim's original text doc.
Processes cleanly, but may need fixup.
1999-05-26 17:27:39 +00:00
Thomas G. Lockhart
bb0fc46a90 Add new reference pages for postmaster and postgres.
Normalize markup for vacuumdb; content is the same.
1999-05-26 17:26:32 +00:00
Thomas G. Lockhart
ff8bf5a0ef First copy from the man pages.
postgres-ref.sgml is not yet marked up.
1999-05-26 17:25:38 +00:00
Thomas G. Lockhart
654f8f0b51 Finish initial markup of cvs.sgml, and include it in the programmer's guide
and the integrated doc. Clean up other markup.
1999-05-22 02:27:25 +00:00
Tom Lane
a1d9186067 Add material about postmaster startup failure messages;
update material about client connection failure messages.
1999-05-21 02:42:59 +00:00
Tom Lane
9a6184dee8 Added a long section about proper use of the optimizer-hint
clauses in CREATE OPERATOR.  Needs markup work.
1999-05-21 00:38:33 +00:00
Tom Lane
5690b1a18f Minor updates to libpq documentation. 1999-05-21 00:36:46 +00:00
Thomas G. Lockhart
165b830ea5 Add reference pages on user interface applications. 1999-05-20 05:40:27 +00:00
Thomas G. Lockhart
32cfa65e49 Rearrange and consolidate the Admin Guide.
Add reference pages for utilities and remove standalone chapters for same.
Add material for an appendix on date/time properties, but not yet
 integrated with the User's Guide.
Break up the former chapter on pg_options
 into Admin and Programmer's Guides.
1999-05-20 05:39:29 +00:00
Tom Lane
c3a4d8ed54 Very minor improvements in CREATE OPERATOR docs. 1999-05-20 03:22:01 +00:00
Tom Lane
c9f8ab6fba Update CREATE FUNCTION docs: mention use of AS clause with
INTERNAL functions, add a warning about trying to overload function names
for dynamically loaded C functions (from old man page).
1999-05-20 02:57:15 +00:00
Tom Lane
e68abfbeff Update SGML docs with some changes I made to test/regress/README
many moons ago, but forgot to put here.
1999-05-20 02:46:40 +00:00
Bruce Momjian
716b8e2dba Updates for 6.5. 1999-05-17 06:06:35 +00:00
Tom Lane
507a0a2ab0 Rip out QueryTreeList structure, root and branch. Querytree
lists are now plain old garden-variety Lists, allocated with palloc,
rather than specialized expansible-array data allocated with malloc.
This substantially simplifies their handling and eliminates several
sources of memory leakage.
Several basic types of erroneous queries (syntax error, attempt to
insert a duplicate key into a unique index) now demonstrably leak
zero bytes per query.
1999-05-13 07:29:22 +00:00
Thomas G. Lockhart
6a982fc6a7 Minor wording change. 1999-05-12 07:34:02 +00:00
Thomas G. Lockhart
95e3cec621 Include mention of CASE, COALESCE, and IFNULL.
Add date/time parsing procedure (perhaps should be in appendix).
Add time zone information (ditto).
Update keyword list.
1999-05-12 07:32:47 +00:00
Bruce Momjian
0b4fab42c3 Update man page for select 1999-05-10 18:22:48 +00:00
Bruce Momjian
86dacdb74c libpq++ uses fe_setauthsvc which is deprecated and results in an error
on connection. This patch changes it to use PQconnectdb rather than
{fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as
there
is no provision for user,password in class PgEnv, but it does get rid of
the error message. Tested with gcc version egcs-2.91.60 19981201
(egcs-1.1.1 release) under NetBSD-1.3K/i386.

Cheers,

Patrick Welche
1999-05-10 15:27:19 +00:00
Thomas G. Lockhart
6b5497757f Fix up examples of sh/ksh PATH environment variable definition. 1999-05-04 02:57:13 +00:00
Thomas G. Lockhart
2289009722 Clean up markup for first useful version. 1999-05-04 02:43:55 +00:00
Thomas G. Lockhart
807ad858e2 Include new introductory chapter on SQL from Stefan S.
Should this be in the tutorial instead?
1999-05-04 02:26:06 +00:00
Thomas G. Lockhart
f8aa366ddd Indent markup using emacs. 1999-05-04 02:24:26 +00:00
Thomas G. Lockhart
1def28ff20 Include specific info on available timezones.
Document date/time input parsing procedure.
1999-05-04 02:22:13 +00:00
Thomas G. Lockhart
2289b403aa Include chapters on security and an intro to SQL. 1999-05-04 02:19:20 +00:00
Thomas G. Lockhart
e1900b2b0c First version of markup which can run through jade for html.
Probably not acceptable yet. Need to check some math symbols and markup.
1999-05-04 02:18:34 +00:00
Thomas G. Lockhart
d8a3a8c0dd Include chapter on security. 1999-05-04 02:16:57 +00:00
Bruce Momjian
52f1b2f3b6 Prevent priority inversion in locking by checking for existing locks
before going into queue behind person with higher piority.
1999-04-30 02:04:51 +00:00
Bruce Momjian
fc08814e00 Rename explain's "size" to "rows". 1999-04-23 21:23:49 +00:00
Bruce Momjian
00a4196139 Add res checking to libpq examples, from Dan Merillat. 1999-04-17 17:18:41 +00:00
Tatsuo Ishii
84746009c2 Hello!
Attached is new README.locale. Should go into .../doc. Includes
instructions on how to install and use Multibyte support. Primarily
oriented toward Russian (Cyrillic) users.

Oleg.
----
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.
1999-04-15 07:25:05 +00:00
Peter Mount
35d70e9ccf Replaced <literal></literal> with "" in ProgramListing sections 1999-04-15 06:00:16 +00:00
Tom Lane
630ed05063 Correct documentation of CREATE OPERATOR. 1999-04-15 00:09:00 +00:00
Tatsuo Ishii
adf5422d79 Add -E option 1999-04-13 09:46:58 +00:00
Tatsuo Ishii
6a8d4822ef Document updation for 6.5 1999-04-13 09:29:46 +00:00
Thomas G. Lockhart
7eb16b7812 Add section from Tom Lane on hashjoin characteristics of operators.
Add emacs editor hints to bottom of file.
1999-04-08 13:29:08 +00:00
Thomas G. Lockhart
fb5460bfb3 Add emacs editor hints to bottom of file. 1999-04-08 13:28:22 +00:00
Tatsuo Ishii
1819e89a0e Prepare multi-byte support document for 6.5 1999-04-07 05:14:51 +00:00
Thomas G. Lockhart
7fcbc5ddf0 Fix markup to include all closing tags.
Required by newest versions of DocBook and style sheets.
1999-04-06 15:41:20 +00:00
Thomas G. Lockhart
905a457a98 Start indenting markup. No text changes. 1999-04-06 15:38:10 +00:00
Thomas G. Lockhart
988d5ef536 Fix XREF markup and typo. 1999-04-06 15:36:56 +00:00
Thomas G. Lockhart
7ecf60427d Fix up small markup problems. Force omit-tags to nil so we have tag
completion as required by the newest DocBook conventions.
1999-03-30 15:25:56 +00:00
Thomas G. Lockhart
107eb78fd4 Repair cut-and-paste typo which described createdb rather than destroydb. 1999-03-30 15:24:49 +00:00
Thomas G. Lockhart
971febeccb Include libpq+.sgml in the doc set.
Had been omitted from the integrated doc for no good reason.
1999-03-30 15:23:03 +00:00
Thomas G. Lockhart
c701639b1f Updates from Vince Vielhaber are the first since 1997. 1999-03-30 15:21:42 +00:00
Thomas G. Lockhart
045013cba3 Markup fixes from Vince Vielhaber. 1999-03-30 15:20:43 +00:00
Michael Meskes
9abf246b91 *** empty log message *** 1999-03-24 14:54:10 +00:00
Bruce Momjian
9ede867281 Fix &g. 1999-03-20 00:15:40 +00:00
Bruce Momjian
0d01fd4e19 Add EXCEPT/INTERSECT doc changes. 1999-03-19 02:41:41 +00:00
Bruce Momjian
62a7754e1a grammar cleanup 1999-03-17 21:58:25 +00:00
Bruce Momjian
cff9ba6570 INET/CIDR doc cleanup 1999-03-17 21:38:13 +00:00
Bruce Momjian
ddc8899e6b Add docs about left-associativity of operators. 1999-03-17 21:27:02 +00:00
Bruce Momjian
259ca6df22 Add documentation change for %'s precidence. 1999-03-17 21:24:17 +00:00
Bruce Momjian
ebfa6ab7b0 Update sgml for 6.4.* release changes. 1999-03-16 21:03:00 +00:00
Bruce Momjian
cd72d24e02 bool uses one byte 1999-03-15 15:00:08 +00:00
Bruce Momjian
f45ec44c6b Patches for the SGML documentation relating
to the tutorial code changes.

NOTE:  I couldn't get ngsmls to find the document
type so that the changes could be checked.  However,
the changes were very minor:

Best,

Clark
1999-03-14 15:24:15 +00:00
Bruce Momjian
a564d2bf0f geqo now at 11 tables 1999-03-07 12:00:40 +00:00
Tom Lane
13abdde2b9 Document configure's --with-maxbackends switch.
Fix a few small typos.
1999-02-21 03:16:29 +00:00
Thomas G. Lockhart
61f40ac3f2 Fix parens typo reported by wmt@thi.com (Bill Tonkin). 1999-02-19 01:58:52 +00:00
Thomas G. Lockhart
1902e8d098 Fix SGML markup from last content changes. 1999-02-19 01:57:08 +00:00
Bruce Momjian
b4e7510e09 Enable bushy and right-hand queries by default. 1999-02-18 06:01:11 +00:00
Bruce Momjian
65ccd1039a Enable bushy plans by default. 1999-02-18 05:26:34 +00:00
Bruce Momjian
61aa825876 Optimizer rename. 1999-02-14 04:57:02 +00:00
Thomas G. Lockhart
0925e5f5f9 Re-enable arch-dev.sgml now that it has new information from Stefan's
Master's Thesis.
1999-02-13 03:54:51 +00:00
Thomas G. Lockhart
e4000add1b Require complete tagging in emacs hints at bottom of file. 1999-02-13 03:54:00 +00:00
Thomas G. Lockhart
478e5beef1 Include chapter on SQL language elements (keywords, etc).
Should merge with or complement Stefan's Master's Thesis intro to SQL.
1999-02-13 03:52:46 +00:00
Thomas G. Lockhart
af2a0dfd65 Describe the date/time parsing rules.
Include specific information on the supported time zones.
 It's a really big table, so maybe it should go into an appendix instead.
1999-02-13 03:42:10 +00:00
Thomas G. Lockhart
0c30f18fbe Add Stefan Simkovics' Master's Thesis. 1999-02-13 03:38:46 +00:00
Thomas G. Lockhart
ba8808b2a6 Substitute great info from Stefan Simkovics' Master's Thesis.
Still need to add some acknowledgements at the top of the doc;
 already have full info in the bibliography but since the original is
 being spread across the existing docs we should also mention things
 locally.
1999-02-13 03:37:54 +00:00
Thomas G. Lockhart
dcded41895 Minor markup changes for the recent TEMP TABLE info.
Docs should build now...
1999-02-13 03:33:50 +00:00
Thomas G. Lockhart
b106421473 More complete info from Oliver Elphick. 1999-02-13 03:32:43 +00:00
Bruce Momjian
f1b7823471 Make GEQO use dependent on table and index count. 1999-02-02 20:30:18 +00:00
Bruce Momjian
a7ad43cd18 Included patches make some enhancements to the multi-byte support.
o allow to use Big5 (a Chinese encoding used in Taiwan) as a client
  encoding. In this case the server side encoding should be EUC_TW

o add EUC_TW and Big5 test cases to the regression and the mb test
  (contributed by Jonah Kuo)

o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was
  not correct (was 3 and now is 4)

o update documents (doc/README.mb and README.mb.jp)

o update psql helpfile (bin/psql/psqlHelp.h)

--
Tatsuo Ishii
t-ishii@sra.co.jp
1999-02-02 18:51:40 +00:00