OSDN Git Service

pg-rex/syncrep.git
19 years agoUppercase SQL keywords in query for clarity.
Bruce Momjian [Wed, 6 Oct 2004 17:43:07 +0000 (17:43 +0000)]
Uppercase SQL keywords in query for clarity.

19 years agoThis simple patch fixes a typo, ensure pg_config is removed in win32
Bruce Momjian [Wed, 6 Oct 2004 17:21:45 +0000 (17:21 +0000)]
This simple patch fixes a typo, ensure pg_config is removed in win32
and correct some splitted message mistake.

Euler Taveira de Oliveira

19 years agoFix pg_dumpall to use double-quote for Win32 arguments.
Bruce Momjian [Wed, 6 Oct 2004 17:02:02 +0000 (17:02 +0000)]
Fix pg_dumpall to use double-quote for Win32 arguments.

Luiz K. Matsumura

19 years agoThe Win32 (mingw) build of libpq seems to have lost it's SSL libs from
Bruce Momjian [Wed, 6 Oct 2004 16:42:01 +0000 (16:42 +0000)]
The Win32 (mingw) build of libpq seems to have lost it's SSL libs from
the link step resulting in a build failure. The attached patch fixes
that.

Dave Page

19 years agoUse #define instead of typedef for plperl because perl defines
Bruce Momjian [Wed, 6 Oct 2004 16:36:02 +0000 (16:36 +0000)]
Use #define instead of typedef for plperl because perl defines
uid_t/gid_t too.

19 years agoUpdate win32ver.rc to 8,0,000,000. Mention it needs updating in
Bruce Momjian [Wed, 6 Oct 2004 15:23:27 +0000 (15:23 +0000)]
Update win32ver.rc to 8,0,000,000.  Mention it needs updating in
RELEASE_CHANGES.

19 years agoImprove consistency of win32 version sed script.
Bruce Momjian [Wed, 6 Oct 2004 15:14:13 +0000 (15:14 +0000)]
Improve consistency of win32 version sed script.

19 years agoFix for Win32 file version sed macro, per report from Dave Page.
Bruce Momjian [Wed, 6 Oct 2004 15:12:32 +0000 (15:12 +0000)]
Fix for Win32 file version sed macro, per report from Dave Page.

19 years agoHere is a patch to fix win32 ssl builds. Summary of changes:
Bruce Momjian [Wed, 6 Oct 2004 09:35:23 +0000 (09:35 +0000)]
Here is a patch to fix win32 ssl builds. Summary of changes:

* Links with -leay32 and -lssleay32 instead of crypto and ssl. On win32,
"crypto and ssl" is only used for static linking.

* Initializes SSL in the backend and not just in the postmaster. We
cannot pass the SSL context from the postmaster through the parameter
file, because it contains function pointers.

* Split one error check in be-secure.c. Previously we could not tell
which of three calls actually failed. The previous code also returned
incorrect error messages if SSL_accept() failed - that function needs to
use SSL_get_error() on the return value, can't just use the error queue.

* Since the win32 implementation uses non-blocking sockets "behind the
scenes" in order to deliver signals correctly, implements a version of
SSL_accept() that can handle this. Also, add a wait function in case
SSL_read or SSL_write() needs more data.

Magnus Hagander

19 years agoAllow plpython to build on Win32.
Bruce Momjian [Wed, 6 Oct 2004 09:20:41 +0000 (09:20 +0000)]
Allow plpython to build on Win32.

Magnus Hagander

19 years agoAdjustment to test on unix domain socket variable for pg_hba.conf
Bruce Momjian [Wed, 6 Oct 2004 09:13:10 +0000 (09:13 +0000)]
Adjustment to test on unix domain socket variable for pg_hba.conf
default settings, rather than just Win32.

19 years agoRemove pg_hba.conf 'local' line for Win32 because it doesn't support unix domain
Bruce Momjian [Wed, 6 Oct 2004 09:01:18 +0000 (09:01 +0000)]
Remove pg_hba.conf 'local' line for Win32 because it doesn't support unix domain
connections.

Andrew Dunstan

19 years agoplease find attached an alternate submission which addresses open item
Bruce Momjian [Wed, 6 Oct 2004 08:50:02 +0000 (08:50 +0000)]
please find attached an alternate submission which addresses open item
"make pgxs install by default". It is up to the committers to chose.

(1) there is only one "install" target. no more "install-all-headers".
    it simplifies/changes several makefiles.

(2) the documentation reflects the change.

(3) a minor fix on pgxs to use a nicer patch without a double slash.

Fabien Coelho

19 years agoSlightly rearrange psql startup code so that we read psqlrc before printing
Neil Conway [Wed, 6 Oct 2004 08:20:58 +0000 (08:20 +0000)]
Slightly rearrange psql startup code so that we read psqlrc before printing
the startup banner. This allows "\set QUIET on" in psqlrc to do what the
user probably intended. Patch from Sean Chittenden, editorializing from
Neil Conway.

19 years agoAdd Win32 version info to client binaries.
Bruce Momjian [Tue, 5 Oct 2004 19:30:25 +0000 (19:30 +0000)]
Add Win32 version info to client binaries.

Magnus Hagander

19 years agoAdd distclean target to pgevent.
Bruce Momjian [Tue, 5 Oct 2004 17:26:39 +0000 (17:26 +0000)]
Add distclean target to pgevent.

19 years agoAnother tightening of Win32 typedefs.
Bruce Momjian [Tue, 5 Oct 2004 15:09:41 +0000 (15:09 +0000)]
Another tightening of Win32 typedefs.

19 years agoFix typo in recent Win32 typedef change.
Bruce Momjian [Tue, 5 Oct 2004 14:27:07 +0000 (14:27 +0000)]
Fix typo in recent Win32 typedef change.

19 years agoRemove unused Win32 defines, convert them to typdefs, per suggestion
Bruce Momjian [Tue, 5 Oct 2004 13:48:35 +0000 (13:48 +0000)]
Remove unused Win32 defines, convert them to typdefs, per suggestion
from Peter.

19 years ago'::' is no longer interpreted as a variable in a prepare statement.
Michael Meskes [Tue, 5 Oct 2004 10:48:37 +0000 (10:48 +0000)]
'::' is no longer interpreted as a variable in a prepare statement.

19 years agoPickup fix from upstream OpenBSD sources: mark a read-only local array as
Neil Conway [Tue, 5 Oct 2004 00:14:45 +0000 (00:14 +0000)]
Pickup fix from upstream OpenBSD sources: mark a read-only local array as
"static" to reduce size of generated code slightly.

19 years agoLicense cleanup: crypt.c and qsort.c to latest NetBSD CVS sources, to
Neil Conway [Tue, 5 Oct 2004 00:12:49 +0000 (00:12 +0000)]
License cleanup: crypt.c and qsort.c to latest NetBSD CVS sources, to
pickup license clarification (3-clause BSD is now used). Add license
terms to memcmp.c (also from NetBSD), which previously had none.
Finally, pickup an upstream fix to crypt.c (const-ify some arrays).

19 years agoRefer to ll_to_earth() function by its actual name.
Tom Lane [Mon, 4 Oct 2004 22:52:47 +0000 (22:52 +0000)]
Refer to ll_to_earth() function by its actual name.

19 years agoRemove arithmetic operators on the 1-byte-char datatype, as per proposals
Tom Lane [Mon, 4 Oct 2004 22:49:59 +0000 (22:49 +0000)]
Remove arithmetic operators on the 1-byte-char datatype, as per proposals
made several times in the past.  Add coercion functions between "char"
and integer so that a workaround is possible if needed.

Initdb forced.

19 years agoCorrect the volatility labeling of ten timestamp-related functions,
Tom Lane [Mon, 4 Oct 2004 22:13:14 +0000 (22:13 +0000)]
Correct the volatility labeling of ten timestamp-related functions,
per discussion from Friday.  initdb not forced in this commit but I intend
to do that later.

19 years agoPortalRun must guard against the possibility that the portal it's
Tom Lane [Mon, 4 Oct 2004 21:52:15 +0000 (21:52 +0000)]
PortalRun must guard against the possibility that the portal it's
running contains VACUUM or a similar command that will internally start
and commit transactions.  In such a case, the original caller values of
CurrentMemoryContext and CurrentResourceOwner will point to objects that
will be destroyed by the internal commit.  We must restore these pointers
to point to the newly-manufactured transaction context and resource owner,
rather than possibly pointing to deleted memory.
Also tweak xact.c so that AbortTransaction and AbortSubTransaction
forcibly restore a sane value for CurrentResourceOwner, much as they
have always done for CurrentMemoryContext.  I'm not certain this is
necessary but I'm feeling paranoid today.
Responds to Sean Chittenden's bug report of 4-Oct.

19 years agoMake sure no libs use libpgport by removing it from the link line.
Bruce Momjian [Mon, 4 Oct 2004 20:36:12 +0000 (20:36 +0000)]
Make sure no libs use libpgport by removing it from the link line.

19 years agoFix MinGW link failure with new libpgport processing.
Bruce Momjian [Mon, 4 Oct 2004 20:32:58 +0000 (20:32 +0000)]
Fix MinGW link failure with new libpgport processing.

19 years agoUpdate comment on int64 printf speciifications for MinGW:
Bruce Momjian [Mon, 4 Oct 2004 18:14:18 +0000 (18:14 +0000)]
Update comment on int64 printf speciifications for MinGW:

# MinGW uses '%I64d', though gcc throws an warning with -Wall,
# while '%lld' doesn't generate a warning, but doesn't work.

19 years agoReadd -DFRONTEND to client makefiles because it still affects win32.h
Bruce Momjian [Mon, 4 Oct 2004 18:05:55 +0000 (18:05 +0000)]
Readd -DFRONTEND to client makefiles because it still affects win32.h
defines.

19 years agoAdd CVS URL for docs.
Bruce Momjian [Mon, 4 Oct 2004 15:29:41 +0000 (15:29 +0000)]
Add CVS URL for docs.

19 years agoFix warnings from crypt.c compile.
Bruce Momjian [Mon, 4 Oct 2004 15:17:17 +0000 (15:17 +0000)]
Fix warnings from crypt.c compile.

19 years agoComment out unused variable.
Bruce Momjian [Mon, 4 Oct 2004 15:09:27 +0000 (15:09 +0000)]
Comment out unused variable.

19 years agoSuppress getppid test on WIN32, per Dave Page.
Tom Lane [Mon, 4 Oct 2004 14:55:17 +0000 (14:55 +0000)]
Suppress getppid test on WIN32, per Dave Page.

19 years agoDetect overflow in integer arithmetic operators (integer, smallint, and
Tom Lane [Mon, 4 Oct 2004 14:42:48 +0000 (14:42 +0000)]
Detect overflow in integer arithmetic operators (integer, smallint, and
bigint variants).  Clean up some inconsistencies in error message wording.
Fix scanint8 to allow trailing whitespace in INT64_MIN case.  Update
int8-exp-three-digits.out, which seems to have been ignored by the last
couple of people to modify the int8 regression test, and remove
int8-exp-three-digits-win32.out which is thereby exposed as redundant.

19 years agoMake libpgport be front-end only and make libpgport_srv be a backend
Bruce Momjian [Mon, 4 Oct 2004 13:43:59 +0000 (13:43 +0000)]
Make libpgport be front-end only and make libpgport_srv be a backend
library that uses palloc, ereport, etc.  This simplifies the makefiles
for client applications.

19 years agoFix error in setseed() docs: "int32" is not a (SQL) type, but "integer" is.
Neil Conway [Mon, 4 Oct 2004 08:15:41 +0000 (08:15 +0000)]
Fix error in setseed() docs: "int32" is not a (SQL) type, but "integer" is.

19 years agoDocument that the semicolon following the final "END" in a function body
Neil Conway [Mon, 4 Oct 2004 05:42:18 +0000 (05:42 +0000)]
Document that the semicolon following the final "END" in a function body
is optional.

19 years agoTranslation update
Peter Eisentraut [Sun, 3 Oct 2004 20:29:24 +0000 (20:29 +0000)]
Translation update

19 years agoTranslation updates
Peter Eisentraut [Sun, 3 Oct 2004 20:24:26 +0000 (20:24 +0000)]
Translation updates

19 years agoAdd regression test inspired by Sebastian Böck.
Tom Lane [Sun, 3 Oct 2004 00:13:29 +0000 (00:13 +0000)]
Add regression test inspired by Sebastian Böck.

19 years agoClean up handling of inherited-table update queries, per bug report
Tom Lane [Sat, 2 Oct 2004 22:39:49 +0000 (22:39 +0000)]
Clean up handling of inherited-table update queries, per bug report
from Sebastian Böck.  The fix involves being more consistent about
when rangetable entries are copied or modified.  Someday we really
need to fix this stuff to not scribble on its input data structures
in the first place...

19 years agoUpdate Farsi FAQ in ASCII.
Bruce Momjian [Sat, 2 Oct 2004 08:19:43 +0000 (08:19 +0000)]
Update Farsi FAQ in ASCII.

19 years agoUpdate length from 75 to 79.
Bruce Momjian [Sat, 2 Oct 2004 01:10:58 +0000 (01:10 +0000)]
Update length from 75 to 79.

19 years agoConvert pg_stat_get_backend_idset to use the existing SRF support.
Tom Lane [Fri, 1 Oct 2004 21:03:42 +0000 (21:03 +0000)]
Convert pg_stat_get_backend_idset to use the existing SRF support.
This seems the cleanest way of fixing its lack of a shutdown callback,
which was preventing it from working correctly in a query that didn't
run it to completion.  Per bug report from Szima GÄbor.

19 years agofmgr_security_definer had better do a PG_TRY to ensure the outer userid
Tom Lane [Fri, 1 Oct 2004 20:39:54 +0000 (20:39 +0000)]
fmgr_security_definer had better do a PG_TRY to ensure the outer userid
is restored on error exit.

19 years agoAdjust postmaster to recognize that a lockfile containing its parent's PID
Tom Lane [Fri, 1 Oct 2004 18:30:25 +0000 (18:30 +0000)]
Adjust postmaster to recognize that a lockfile containing its parent's PID
must be stale.  Tweak example startup scripts to not use pg_ctl but launch
the postmaster directly, thereby ensuring that only the postmaster's direct
parent shell will be a postgres-owned process.  In combination these should
fix the longstanding problem of the postmaster sometimes refusing to start
during reboot because it thinks the old lockfile is not stale.

19 years agoDon't assume PQdb() will return a valid result from a failed connection.
Tom Lane [Fri, 1 Oct 2004 17:34:19 +0000 (17:34 +0000)]
Don't assume PQdb() will return a valid result from a failed connection.

19 years agoDon't assume PQdb() will return a valid result from a failed connection.
Tom Lane [Fri, 1 Oct 2004 17:25:55 +0000 (17:25 +0000)]
Don't assume PQdb() will return a valid result from a failed connection.

19 years agoFallout from changing index locking rules: we can reduce the strength
Tom Lane [Fri, 1 Oct 2004 17:11:50 +0000 (17:11 +0000)]
Fallout from changing index locking rules: we can reduce the strength
of locking used by REINDEX.  REINDEX needs only ShareLock on the parent
table, same as CREATE INDEX, plus an exclusive lock on the specific index
being processed.

19 years agoCode review for NOWAIT patch: downgrade NOWAIT from fully reserved keyword
Tom Lane [Fri, 1 Oct 2004 16:40:05 +0000 (16:40 +0000)]
Code review for NOWAIT patch: downgrade NOWAIT from fully reserved keyword
to unreserved keyword, use ereport not elog, assign a separate error code
for 'could not obtain lock' so that applications will be able to detect
that case cleanly.

19 years agoRemove DROPs from contrib object creation scripts, per Dave Page.
Tom Lane [Fri, 1 Oct 2004 15:43:40 +0000 (15:43 +0000)]
Remove DROPs from contrib object creation scripts, per Dave Page.

19 years agoUse 'override' when appending text to LDFLAGS, so the build doesn't break
Neil Conway [Fri, 1 Oct 2004 02:06:52 +0000 (02:06 +0000)]
Use 'override' when appending text to LDFLAGS, so the build doesn't break
if the user has defined LDFLAGS themselves.

19 years agoRemove more traces of libpgtcl from the source tree. Also, make some
Neil Conway [Fri, 1 Oct 2004 02:00:44 +0000 (02:00 +0000)]
Remove more traces of libpgtcl from the source tree. Also, make some
semi-related SGML cleanup. Original patch from ljb220@mindspring.com,
additional cleanup by Neil Conway.

19 years agoAdjust index locking rules as per my proposal of earlier today. You
Tom Lane [Thu, 30 Sep 2004 23:21:26 +0000 (23:21 +0000)]
Adjust index locking rules as per my proposal of earlier today.  You
now are supposed to take some kind of lock on an index whenever you
are going to access the index contents, rather than relying only on a
lock on the parent table.

19 years agoAdd variant regression file to handle machines that convert -1e-700
Tom Lane [Thu, 30 Sep 2004 21:12:45 +0000 (21:12 +0000)]
Add variant regression file to handle machines that convert -1e-700
to minus zero rather than zero; this includes at least Mac OS X 10.3
and Solaris 2.8.

19 years agoRemove unnecessary use of index_open just to get the index name.
Tom Lane [Thu, 30 Sep 2004 17:42:42 +0000 (17:42 +0000)]
Remove unnecessary use of index_open just to get the index name.

19 years agoisinf.c needs <float.h> on some platforms, per Darcy Buskermolen.
Tom Lane [Thu, 30 Sep 2004 16:38:39 +0000 (16:38 +0000)]
isinf.c needs <float.h> on some platforms, per Darcy Buskermolen.

19 years agoAdd a note suggesting that users should use the newer version of pg_dump
Neil Conway [Thu, 30 Sep 2004 10:30:10 +0000 (10:30 +0000)]
Add a note suggesting that users should use the newer version of pg_dump
to perform upgrades, and cleanup some nearby text. Patch from Robert
Treat, editorializing by Neil Conway.

19 years agoAdd more index entries for reference pages related to prepare queries.
Neil Conway [Thu, 30 Sep 2004 04:23:27 +0000 (04:23 +0000)]
Add more index entries for reference pages related to prepare queries.
From Alvaro Herrera, editorializing by Neil Conway.

19 years agoUpdate Brazilian FAQ.
Bruce Momjian [Thu, 30 Sep 2004 03:50:34 +0000 (03:50 +0000)]
Update Brazilian FAQ.

Euler Taveira de Oliveira

19 years agoAdd an index entry for tablespaces. From Kris Jurka.
Neil Conway [Thu, 30 Sep 2004 02:40:23 +0000 (02:40 +0000)]
Add an index entry for tablespaces. From Kris Jurka.

19 years agoCome to think of it, functions in FROM have the same syntactic restriction
Tom Lane [Thu, 30 Sep 2004 00:24:27 +0000 (00:24 +0000)]
Come to think of it, functions in FROM have the same syntactic restriction
as CREATE INDEX did, and can be fixed the same way, for another small
improvement in usability and reduction in grammar size.

19 years agoSplit out everything that looks like a function call from c_expr into
Tom Lane [Wed, 29 Sep 2004 23:39:20 +0000 (23:39 +0000)]
Split out everything that looks like a function call from c_expr into
a separate production func_expr.  This allows us to accept all these
variants in the backwards-compatible syntax for creating a functional
index; which beats documenting exactly which things work and which don't.
Interestingly, it also seems to make the generated state machine a little
bit smaller.

19 years agoAdd Farsi version of FAQ.
Bruce Momjian [Wed, 29 Sep 2004 16:23:16 +0000 (16:23 +0000)]
Add Farsi version of FAQ.

Mahmoud Taghizadeh

19 years agoMinor adjustments to improve the accuracy of our computation of required
Tom Lane [Wed, 29 Sep 2004 15:15:56 +0000 (15:15 +0000)]
Minor adjustments to improve the accuracy of our computation of required
shared memory size.

19 years agoMinor documentation improvement.
Neil Conway [Wed, 29 Sep 2004 06:27:11 +0000 (06:27 +0000)]
Minor documentation improvement.

19 years agoAdjust obsolete comment about memory needs for lock table.
Tom Lane [Tue, 28 Sep 2004 21:19:30 +0000 (21:19 +0000)]
Adjust obsolete comment about memory needs for lock table.

19 years agoArrange to preallocate all required space for the buffer and FSM hash
Tom Lane [Tue, 28 Sep 2004 20:46:37 +0000 (20:46 +0000)]
Arrange to preallocate all required space for the buffer and FSM hash
tables in shared memory.  This ensures that overflow of the lock table
creates no long-lasting problems.  Per discussion with Merlin Moncure.

19 years agoCode review for recent dbsize changes. Fix some thinkos, enforce coding
Tom Lane [Tue, 28 Sep 2004 19:35:43 +0000 (19:35 +0000)]
Code review for recent dbsize changes.  Fix some thinkos, enforce coding
style and message style standards, improve documentation.

19 years ago An include path got missed out of the patch - see the attached fix.
Bruce Momjian [Tue, 28 Sep 2004 16:17:26 +0000 (16:17 +0000)]
 An include path got missed out of the patch - see the attached fix.
This also adds debug build support to src/bin/psql/win32.mak.

Dave Page

19 years agoFix typo in docs.
Neil Conway [Tue, 28 Sep 2004 10:18:22 +0000 (10:18 +0000)]
Fix typo in docs.

19 years agoRemove duplicate PQclear(res) operations leading to double free() and
Tom Lane [Tue, 28 Sep 2004 00:49:04 +0000 (00:49 +0000)]
Remove duplicate PQclear(res) operations leading to double free() and
subsequent core dump.  It looks like at one time DBLINK_RES_ERROR_AS_NOTICE
didn't include a PQclear, but now it does and so these other ones are
duplicate.

19 years agoRevert patch that removed BUFSIZ usage. The memory has to hold the
Bruce Momjian [Tue, 28 Sep 2004 00:07:01 +0000 (00:07 +0000)]
Revert patch that removed BUFSIZ usage.  The memory has to hold the
structures plus pointers used by the structure.

19 years agoSmall WIN32_CLIENT_ONLY cleanup for new build patch.
Bruce Momjian [Mon, 27 Sep 2004 23:58:09 +0000 (23:58 +0000)]
Small WIN32_CLIENT_ONLY cleanup for new build patch.

19 years agoRemove use of large BUFSIZ for buffers and use the proper struct sizes.
Bruce Momjian [Mon, 27 Sep 2004 23:39:14 +0000 (23:39 +0000)]
Remove use of large BUFSIZ for buffers and use the proper struct sizes.
This greatly helps threaded libpq programs.

19 years agoAdd new macro as shorthand for MS VC and Borland C++:
Bruce Momjian [Mon, 27 Sep 2004 23:24:45 +0000 (23:24 +0000)]
Add new macro as shorthand for MS VC and Borland C++:

+ #if   defined(_MSC_VER) || defined(__BORLANDC__)
+ #define       WIN32_CLIENT_ONLY
+ #endif

19 years agoMore MS VC and BCC psql compile cleanups.
Bruce Momjian [Mon, 27 Sep 2004 22:20:40 +0000 (22:20 +0000)]
More MS VC and BCC psql compile cleanups.

19 years agoMore Win32 cleanups for Dave Page.
Bruce Momjian [Mon, 27 Sep 2004 22:11:23 +0000 (22:11 +0000)]
More Win32 cleanups for Dave Page.

19 years agoMake adjustment for MS VC and BCC compile of psql, from Dave Page.
Bruce Momjian [Mon, 27 Sep 2004 22:06:41 +0000 (22:06 +0000)]
Make adjustment for MS VC and BCC compile of psql, from Dave Page.

19 years agoImprove MS VC builds for psql by handlling flex properly and prevent
Bruce Momjian [Mon, 27 Sep 2004 20:37:20 +0000 (20:37 +0000)]
Improve MS VC builds for psql by handlling flex properly and prevent
rename prototype conflict.

19 years agoTranslation update
Peter Eisentraut [Mon, 27 Sep 2004 20:28:15 +0000 (20:28 +0000)]
Translation update

19 years agoTranslation updates
Peter Eisentraut [Mon, 27 Sep 2004 20:26:03 +0000 (20:26 +0000)]
Translation updates

19 years agoTranslation update
Peter Eisentraut [Mon, 27 Sep 2004 20:23:07 +0000 (20:23 +0000)]
Translation update

19 years agoNew translations
Peter Eisentraut [Mon, 27 Sep 2004 20:21:24 +0000 (20:21 +0000)]
New translations

19 years agoUpdate docs for Borland CC build.
Bruce Momjian [Mon, 27 Sep 2004 19:43:17 +0000 (19:43 +0000)]
Update docs for Borland CC build.

19 years agoRemove inclusion of windows.h now that it is included in c.h, per idea
Bruce Momjian [Mon, 27 Sep 2004 19:16:03 +0000 (19:16 +0000)]
Remove inclusion of windows.h now that it is included in c.h, per idea
from Peter.

19 years agoAdd:
Bruce Momjian [Mon, 27 Sep 2004 14:17:51 +0000 (14:17 +0000)]
Add:

>
> * Consider automatic caching of queries at various levels:
>  o Parsed query tree
>  o Query execute plan
>  o Query results

19 years agoRemove completed items:
Bruce Momjian [Mon, 27 Sep 2004 14:15:49 +0000 (14:15 +0000)]
Remove completed items:

< Last updated: Sat Sep 25 21:33:44 EDT 2004
> Last updated: Mon Sep 27 10:15:31 EDT 2004
13,19d12
< Remove items before beta?
<
< Urgent
< ======
<
< * -Point-in-time data recovery using backup and write-ahead log
< * -Create native Win32 port
25d17
< * -Incremental backups
28d19
< * -Allow configuration files to be specified in a different directory
32,34d22
< * -Add the concept of dataspaces/tablespaces (Gavin)
< * -Allow logging of only data definition(DDL), or DDL and modification statements
< * -Allow log lines to include session-level information, like database and user
54d41
< * -Allow external interfaces to extend the GUC variable set
126d112
< * -Change factorial to return a numeric (Gavin)
141,142d126
< * -Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUE
< * -Prevent whole-row references from leaking memory, e.g. SELECT COUNT(tab.*)
147d130
< * -Make LENGTH() of CHAR() not count trailing spaces
150d132
< * -Support composite types as table columns
198,200d179
< * -Prevent mismatch of frontend/backend encodings from converting bytea
<   data from being interpreted as encoded strings
< * -Fix upper()/lower() to work for multibyte encodings
217d195
< * -Order duplicate index entries on creation by ctid for faster heap lookups
242d219
< * -Be smarter about insertion of already-ordered data into btree index
265,266d241
< * -Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
<   float4, numeric/decimal too
282d256
< * -Allow command blocks to ignore certain types of errors
302,303d275
< * -Allow savepoints / nested transactions (Alvaro)
< * -Use nested transactions to prevent syntax errors from aborting a transaction
306,307d277
< * -Prevent COMMENT ON DATABASE from using a database name
< * -Add NO WAIT LOCKs
325,326d294
< * -COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
<   (Christopher)
334d301
< * -Allow more ISOLATION LEVELS to be accepted
347d313
< * -Add GUC setting to make created tables default to WITHOUT OIDS
365,369d330
<  o -ALTER TABLE ADD COLUMN does not honor DEFAULT and non-CHECK CONSTRAINT
<  o -ALTER TABLE ADD COLUMN column DEFAULT should fill existing
<    rows with DEFAULT value
<  o -ALTER TABLE ADD COLUMN column SERIAL doesn't create sequence because
<           of the item above
371,373d331
<  o -Allow ALTER TABLE to modify column lengths and change to binary
<    compatible types
<  o -Add ALTER DATABASE ... OWNER TO newowner
390,393d347
<  o -Add ALTER DOMAIN, AGGREGATE, CONVERSION ... OWNER TO
<  o -Add ALTER SEQUENCE ... OWNER TO
<  o -Add ALTER INDEX that works just like ALTER TABLE already does
<    on an index
404d357
<  o -Add ALTER TABLE table SET WITHOUT CLUSTER (Christopher)
411d363
<  o -Allow dump/load of CSV format
464d415
<  o -Allow Java server-side programming
473d423
<  o -Allow PL/pgSQL parameters to be specified by name and type during definition
493,495d442
< * -Allow psql \du to show users, and add \dg for groups
< * -Have psql \dn show only visible temp schemas using current_schemas()
< * -Have psql '\i ~/<tab><tab>' actually load files it displays from home dir
509,511d455
<  o -Allow pg_dump to dump CREATE CONVERSION (Christopher)
<  o -Make pg_restore continue after errors, so it acts more like pg_dump
<    scripts
545d488
<  o -Implement SET DESCRIPTOR
592,596d534
< * -Have AFTER triggers execute after the appropriate SQL statement in a
<   function, not at the end of the function
< * -Print table names with constraint names in error messages, or make constraint
<   names unique within a schema
< * -Issue NOTICE if foreign key data requires costly test to match primary key
614,615d551
< * -Use dependency information to dump data in proper order
< * -Have pg_dump -c clear the database using dependency information
694,695d629
< * -Provide automatic running of vacuum in the background in backend
<   rather than in /contrib (Matthew)
828d761
< * -Use background process to write dirty shared buffers to disk
843d775
< * -Change representation of whole-tuple parameters to functions
850,852d781
< * -Add checks for fclose() failure (Tom)
< * -Change CVS ID to PostgreSQL
< * -Exit postmaster if postgresql.conf can not be opened

19 years agoSynced parser.
Michael Meskes [Mon, 27 Sep 2004 09:59:17 +0000 (09:59 +0000)]
Synced parser.
Removed Oracle transaction syntax to fix shift/reduce error.

19 years agoAddition to documentation about cvsup. From Andrew Dunstan, minor SGML
Neil Conway [Mon, 27 Sep 2004 05:54:58 +0000 (05:54 +0000)]
Addition to documentation about cvsup. From Andrew Dunstan, minor SGML
tweak by Neil Conway.

19 years agoRemove references to the ODBC driver from the main source tree. From Kris
Neil Conway [Mon, 27 Sep 2004 04:18:28 +0000 (04:18 +0000)]
Remove references to the ODBC driver from the main source tree. From Kris
Jurka.

19 years agoA few minor list-related cleanups:
Neil Conway [Mon, 27 Sep 2004 04:12:03 +0000 (04:12 +0000)]
A few minor list-related cleanups:

(1) Replace while loop with the new forboth() construct in
parser/analyze.c

(2) Replace lcons() with lappend() in SearchCatCacheList(). Since these
now have the same performance, there is no reason to prefer lcons() in
this case, and using lappend() leads to cleaner code.

(3) Improve the name of the second parameter to for_each_cell()

19 years agoCode cleanup: don't bother casting the argument to pfree() to void *
Neil Conway [Mon, 27 Sep 2004 04:01:23 +0000 (04:01 +0000)]
Code cleanup: don't bother casting the argument to pfree() to void *
from another pointer type. Per C89, this is unnecessary, and it is common
practice throughout the rest of the tree anyway.

19 years agoupdate for beta3, and update Copyright date to 2004
PostgreSQL Daemon [Mon, 27 Sep 2004 02:17:14 +0000 (02:17 +0000)]
update for beta3, and update Copyright date to 2004

19 years agoRewrite ReadArrayStr() to avoid O(N^2) behavior on large strings,
Tom Lane [Mon, 27 Sep 2004 01:39:02 +0000 (01:39 +0000)]
Rewrite ReadArrayStr() to avoid O(N^2) behavior on large strings,
and hopefully improve code clarity while at it.  One intentional
semantics change: a backslashed space will not be treated as removable
trailing whitespace, as the prior coding would do.  ISTM that if it
wouldn't be considered removable leading whitespace, it shouldn't be
stripped at the end either.

19 years agoFix misstatement in docs: CREATE TABLE AS is now part of the standard.
Neil Conway [Sun, 26 Sep 2004 23:48:07 +0000 (23:48 +0000)]
Fix misstatement in docs: CREATE TABLE AS is now part of the standard.

19 years agoFix multiple breakages in our support for SSL certificates.
Tom Lane [Sun, 26 Sep 2004 22:51:49 +0000 (22:51 +0000)]
Fix multiple breakages in our support for SSL certificates.

19 years agoUse ULL not LL in UINT64CONST.
Tom Lane [Sun, 26 Sep 2004 15:13:42 +0000 (15:13 +0000)]
Use ULL not LL in UINT64CONST.

19 years agoHere is a patch that adds the version info from libpq.rc to the DLL
Bruce Momjian [Sun, 26 Sep 2004 02:14:47 +0000 (02:14 +0000)]
Here is a patch that adds the version info from libpq.rc to the DLL
build in mingw. The MSVC build already did this, but it was not linked
into the mingw one.

This is not the same as the versioninfo patch that's in the queue.
Please apply this one before beta-3 if at all possible.

Magnus Hagander