OSDN Git Service
Bruce Momjian [Tue, 27 Mar 2001 14:56:20 +0000 (14:56 +0000)]
The following patch updates the FAQ_AIX and makes C++ code work with
more recent versions of the IBM C++ compiler (now called VisualAge C++).
The C++ part was previously broken (g++ and xlC), thus this is zero risk.
Only AIX specific parts are touched (1 Makefile.shlib line (link with $(COMPILER
) instead
of $(CC) and one shell script line (parameter -C to nm to not demangle C++ symbo
ls for
.exp file)).
I thus ask you to please apply this patch before release.
With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake check" for both
the native
compiler vac.C 5.0.1 and gcc 2.95.2 :-)
Andreas
D'Arcy J.M. Cain [Tue, 27 Mar 2001 10:53:21 +0000 (10:53 +0000)]
Add changes from Mikhail Terekhov <terekhov@emc.com>.
Use Extension method from distutils.
Cleaned up mismatched indentation styles while I was at it.
Tatsuo Ishii [Tue, 27 Mar 2001 05:47:13 +0000 (05:47 +0000)]
Add checking for valid database encoding.
Bruce Momjian [Tue, 27 Mar 2001 04:00:55 +0000 (04:00 +0000)]
ODBC source code cleanup. Mostly alignment of #define constants.
Tom Lane [Tue, 27 Mar 2001 01:16:24 +0000 (01:16 +0000)]
Spell __volatile__ correctly.
Bruce Momjian [Mon, 26 Mar 2001 17:51:41 +0000 (17:51 +0000)]
OpenBSD resultmap change:
I posted this to the list a few days ago, but it was not addressed. Can
someone please make the changes to the src/test/regress/resultmap?
Thanks.
- brandon
Bruce Momjian [Mon, 26 Mar 2001 17:00:54 +0000 (17:00 +0000)]
Add period to message.
Bruce Momjian [Mon, 26 Mar 2001 16:59:38 +0000 (16:59 +0000)]
Change message to _the_ administrator. There is only one administrative
account.
This connection has been terminated by the administrator.
Tom Lane [Mon, 26 Mar 2001 15:21:33 +0000 (15:21 +0000)]
Add #define HAVE_ATEXIT, per report from Magnus.
Tom Lane [Mon, 26 Mar 2001 15:18:51 +0000 (15:18 +0000)]
pqsignal call needs to be #ifndef WIN32, per report from Magnus.
Hiroshi Inoue [Mon, 26 Mar 2001 09:34:17 +0000 (09:34 +0000)]
Add multibyte support
Tatsuo Ishii [Mon, 26 Mar 2001 08:32:10 +0000 (08:32 +0000)]
Fix typo
Tom Lane [Sun, 25 Mar 2001 23:23:59 +0000 (23:23 +0000)]
Fix unportable assumptions about alignment of local char[n] variables.
Tom Lane [Sun, 25 Mar 2001 22:40:58 +0000 (22:40 +0000)]
Improve comments for xlog item size #defines.
D'Arcy J.M. Cain [Sun, 25 Mar 2001 22:23:44 +0000 (22:23 +0000)]
Update the changes for version 3.2.
D'Arcy J.M. Cain [Sun, 25 Mar 2001 22:22:51 +0000 (22:22 +0000)]
Document the --with-python flag as a simpler way of installing the
PyGreSQL module when installing PostgreSQL.
Document the location of the WIN32 binaries.
Bruce Momjian [Sun, 25 Mar 2001 21:41:52 +0000 (21:41 +0000)]
Update TODO list.
Peter Eisentraut [Sun, 25 Mar 2001 19:44:04 +0000 (19:44 +0000)]
Pick up any extra -I options for Python build.
Tom Lane [Sun, 25 Mar 2001 19:30:28 +0000 (19:30 +0000)]
Fix unportable assumptions about alignment of local char[n] variables.
Tom Lane [Sun, 25 Mar 2001 18:14:31 +0000 (18:14 +0000)]
The regexp pattern characters ^ and $ should be explained as matching
at the beginning and end of the input string, not the beginning and end
of "a line", since Postgres does not allow them to match at newline
characters in the data.
Tom Lane [Sun, 25 Mar 2001 17:52:46 +0000 (17:52 +0000)]
Re-order declarations to un-break the non-HAS_TEST_AND_SET case.
Peter Eisentraut [Sun, 25 Mar 2001 10:16:12 +0000 (10:16 +0000)]
spell fix
Peter Eisentraut [Sun, 25 Mar 2001 08:32:24 +0000 (08:32 +0000)]
Allow building documentation outside source tree.
from Ian Lance Taylor
Tom Lane [Sun, 25 Mar 2001 00:45:20 +0000 (00:45 +0000)]
Fix code that incorrectly assumed a 'char foo[N]' local variable would
be aligned on a word boundary. Per report from Steve Nicolai.
Peter Eisentraut [Sat, 24 Mar 2001 23:32:25 +0000 (23:32 +0000)]
Make less misleading message for failed + ignored tests.
Tom Lane [Sat, 24 Mar 2001 23:11:14 +0000 (23:11 +0000)]
Portability fix from Steve Nicolai.
Peter Eisentraut [Sat, 24 Mar 2001 23:03:26 +0000 (23:03 +0000)]
minor copy editing
Peter Eisentraut [Sat, 24 Mar 2001 13:21:14 +0000 (13:21 +0000)]
Disable pg_upgrade.
Tom Lane [Sat, 24 Mar 2001 06:17:41 +0000 (06:17 +0000)]
Hadn't built on a PARISC 1.1 box in a long time ... but when I did,
it turned out that the libpq makefile chokes on '-L /lib/pa1.1'.
Need to remove the space so filter rule works.
Tom Lane [Sat, 24 Mar 2001 03:40:44 +0000 (03:40 +0000)]
Update info about mailing lists, make a few other minor improvements.
Thomas G. Lockhart [Sat, 24 Mar 2001 02:36:01 +0000 (02:36 +0000)]
Update to the current state of platform support.
Still need some tested for the 7.1 release.
Thomas G. Lockhart [Sat, 24 Mar 2001 02:35:25 +0000 (02:35 +0000)]
Fix up wording slightly. No change in content.
Marc G. Fournier [Sat, 24 Mar 2001 00:48:17 +0000 (00:48 +0000)]
update the ChangeLog in preparation for release ...
Tom Lane [Sat, 24 Mar 2001 00:24:26 +0000 (00:24 +0000)]
Miscellaneous updates and minor copy-editing.
Tom Lane [Fri, 23 Mar 2001 22:07:50 +0000 (22:07 +0000)]
Doc update from Roberto Mello: improved versions of instr() examples.
Tom Lane [Fri, 23 Mar 2001 18:42:12 +0000 (18:42 +0000)]
When using 'long long int' for int64 type, check to see if the compiler
accepts nnnLL syntax for long long constants. If so, decorate the CRC64
constants with LL to avoid warnings and/or erroneous results from certain
non-standards-compliant compilers.
Tom Lane [Fri, 23 Mar 2001 18:26:01 +0000 (18:26 +0000)]
Mark exception and assert global variables as DLLIMPORT, so that plpgsql
can be compiled with asserts enabled on Windoze.
Bruce Momjian [Fri, 23 Mar 2001 17:09:09 +0000 (17:09 +0000)]
Update TODO list.
Tatsuo Ishii [Fri, 23 Mar 2001 05:46:05 +0000 (05:46 +0000)]
Add checking for strtoul. SunOS4 does not have it.
Bruce Momjian [Fri, 23 Mar 2001 04:49:58 +0000 (04:49 +0000)]
Fix comments that were mis-wrapped, for Tom Lane.
Tom Lane [Fri, 23 Mar 2001 01:51:08 +0000 (01:51 +0000)]
Fix SPI example to reflect new-style calling convention for textout().
Philip Warner [Fri, 23 Mar 2001 01:27:12 +0000 (01:27 +0000)]
Fix checking of file operations in demo ('files') output format.
Tom Lane [Fri, 23 Mar 2001 00:36:38 +0000 (00:36 +0000)]
Fix problems with coredumps due to ^C when longjmp buffer isn't valid.
Now, we will only catch ^C at times when it is valid.
Tom Lane [Thu, 22 Mar 2001 17:41:47 +0000 (17:41 +0000)]
Fix Joubert's complaint that int8-sized numeric literals are mishandled
on Alpha (because parser mistakenly assumes that a nonoverflow result
from strtol means the value will fit into int4). A scan for other uses
of strtol and strtoul found a couple other places with the same mistake;
fix them too. The changes are all conditional on HAVE_LONG_INT_64 to
avoid complaints from compilers that think x != x is a silly test
(cf. pg_atoi).
Bruce Momjian [Thu, 22 Mar 2001 15:24:12 +0000 (15:24 +0000)]
Run pgindent on _int.c, for Tom Lane. I had skipped this file because
of a complex macro that pgindent complained about. Hand-adjusted macro
for pgindent run.
Marc G. Fournier [Thu, 22 Mar 2001 15:13:19 +0000 (15:13 +0000)]
geometry tests 'FAILED' from a precision standpoint, but differently then
what solaris-precision takes into account ... its possible that solaris-precision
is 'stale', but created a new one "just in case" ...
Bruce Momjian [Thu, 22 Mar 2001 06:16:21 +0000 (06:16 +0000)]
Remove dashes in comments that don't need them, rewrap with pgindent.
Bruce Momjian [Thu, 22 Mar 2001 04:01:46 +0000 (04:01 +0000)]
pgindent run. Make it all clean.
Peter Eisentraut [Wed, 21 Mar 2001 19:09:03 +0000 (19:09 +0000)]
correction
Hiroshi Inoue [Wed, 21 Mar 2001 16:26:17 +0000 (16:26 +0000)]
The attached patch fixes win32.mak which got broken by the Multibyte mod
:-(, and tidies it up a little as well.
Regards, Dave.
Bruce Momjian [Wed, 21 Mar 2001 15:46:11 +0000 (15:46 +0000)]
Update TODO list.
Vadim B. Mikheev [Wed, 21 Mar 2001 10:13:29 +0000 (10:13 +0000)]
Check bufHdr->cntxDirty and call StartBufferIO in BufferSync()
*before* acquiring shlock on buffer context. This way we should be
protected against conflicts with FlushRelationBuffers.
(Seems we never do excl lock and then StartBufferIO for the same
buffer, so there should be no deadlock here, - but we'd better
check this very soon).
Hiroshi Inoue [Wed, 21 Mar 2001 09:35:25 +0000 (09:35 +0000)]
a fix from Eiji Tokuya.
Bruce Momjian [Wed, 21 Mar 2001 04:39:28 +0000 (04:39 +0000)]
Add mmap info. Seems mmap may not be a good idea.
Bruce Momjian [Wed, 21 Mar 2001 04:30:26 +0000 (04:30 +0000)]
Update TODO list.
Marc G. Fournier [Tue, 20 Mar 2001 23:35:20 +0000 (23:35 +0000)]
well, here goes our first Release Candidate for 7.1 *cross fingers*
Bruce Momjian [Tue, 20 Mar 2001 22:31:54 +0000 (22:31 +0000)]
Fix 'ps' WAIT status display bug on setproctitle() platforms, cleared by
Tom Lane.
Bruce Momjian [Tue, 20 Mar 2001 22:15:43 +0000 (22:15 +0000)]
Update Japanese FAQ.
Bruce Momjian [Tue, 20 Mar 2001 22:04:59 +0000 (22:04 +0000)]
Update TODO list.
Tom Lane [Tue, 20 Mar 2001 20:54:41 +0000 (20:54 +0000)]
Recommend CREATE TABLE AS in preference to SELECT INTO. Remove the
(inadequate anyway) mention of SELECT INTO from the main SELECT ref page.
Point out that SELECT INTO means something else in plpgsql and ecpg.
Bruce Momjian [Tue, 20 Mar 2001 20:32:30 +0000 (20:32 +0000)]
Update TODO list.
Bruce Momjian [Tue, 20 Mar 2001 20:31:56 +0000 (20:31 +0000)]
Update TODO list.
Bruce Momjian [Tue, 20 Mar 2001 20:31:07 +0000 (20:31 +0000)]
Update TODO list.
Bruce Momjian [Tue, 20 Mar 2001 19:56:25 +0000 (19:56 +0000)]
Update TODO list.
Tom Lane [Tue, 20 Mar 2001 03:08:12 +0000 (03:08 +0000)]
Repair intarray's problems with TOASTed input, avoid scribbling on
source data, improve split algorithm for intbig_ops. Oleg Bartunov
with some kibitzing from Tom Lane.
Tom Lane [Tue, 20 Mar 2001 00:18:21 +0000 (00:18 +0000)]
Mention that parallel regress script needs to be run under ksh not sh
on HPUX.
Tom Lane [Tue, 20 Mar 2001 00:09:36 +0000 (00:09 +0000)]
Discuss LOCALE differences as a reason for regression test failure.
Tom Lane [Mon, 19 Mar 2001 22:29:39 +0000 (22:29 +0000)]
Tweak out-of-memory error messages to include the request size, so that
it's easier to tell whether a bug report is talking about progressive
memory exhaustion or a wacko requested chunk size.
Tom Lane [Mon, 19 Mar 2001 22:27:46 +0000 (22:27 +0000)]
Make regular-expression error messages a tad less obscure,
per gripe from Josh Berkus.
Bruce Momjian [Mon, 19 Mar 2001 21:57:09 +0000 (21:57 +0000)]
Update Peter Mount's email address in README.
Peter Eisentraut [Mon, 19 Mar 2001 16:20:52 +0000 (16:20 +0000)]
Add missing TO.
Peter Eisentraut [Mon, 19 Mar 2001 16:19:26 +0000 (16:19 +0000)]
Add note about saving large objects during upgrade.
Philip Warner [Mon, 19 Mar 2001 02:35:29 +0000 (02:35 +0000)]
- Added CVS headers to files
- Avoid forcing table name to lower case in FixupBlobXrefs
- Removed fmtId calls for all ArchiveEntry name fields. This fixes
quoting problems in trigger enable/disable code for mixed case
table names, and avoids commands like 'pg_restore -t '"TblA"'
Tom Lane [Sun, 18 Mar 2001 23:36:55 +0000 (23:36 +0000)]
Restore include-file updates, and fix some of the more glaring macro
sloppiness (insufficient parenthesization, etc).
It still fails regress test for me, however.
Tom Lane [Sun, 18 Mar 2001 23:35:18 +0000 (23:35 +0000)]
Restore Peter's makefile fixes.
Tom Lane [Sun, 18 Mar 2001 20:27:11 +0000 (20:27 +0000)]
Give postmaster enough time to update the pidfile before checking to
see if it's been updated. Skip the whole mess if we didn't see any
old pidfile.
Tom Lane [Sun, 18 Mar 2001 20:18:59 +0000 (20:18 +0000)]
Remove NEXTXID xlog record type to avoid three-way deadlock risk.
NEXTXID isn't really necessary, per previous discussion in pghackers,
but I mulishy insisted we should put it in anyway. Mea culpa.
Tom Lane [Sun, 18 Mar 2001 20:13:13 +0000 (20:13 +0000)]
When we add 'waiting' to the ps_status display, there should be a
space in front of it. Improve comments a little.
Tom Lane [Sun, 18 Mar 2001 18:32:02 +0000 (18:32 +0000)]
Considering the BeOS port didn't compile without IPC_STAT and shm_nattch,
I'm betting the QNX4 port does not either ...
Tom Lane [Sun, 18 Mar 2001 18:22:08 +0000 (18:22 +0000)]
Patches from Cyril Velter to make shared-memory-conflict-detection code
work in BeOS port.
Philip Warner [Sun, 18 Mar 2001 03:45:12 +0000 (03:45 +0000)]
Fixed but in _enableTriggersIfNecessary introduced by previous patches by me
which caused segfault in a data-only retore with BLOBs
Tom Lane [Sun, 18 Mar 2001 02:25:32 +0000 (02:25 +0000)]
Fix coredump due to writing one more byte than we'd allocated.
Tom Lane [Sun, 18 Mar 2001 00:30:27 +0000 (00:30 +0000)]
Make sure ControlFile logId/logSeg don't go backwards (barely possible given a
slow backend, if we update unconditionally as the code did before).
Bruce Momjian [Sat, 17 Mar 2001 21:59:42 +0000 (21:59 +0000)]
Update contrib intarray to Jan 25 version.
Tom Lane [Sat, 17 Mar 2001 20:54:13 +0000 (20:54 +0000)]
Rearrange XLogFileInit so that control-file spinlock is not held while filling
the new log file with zeroes, only while renaming it into place. This should
prevent problems with 'stuck spinlock' errors under heavy load.
Peter Eisentraut [Sat, 17 Mar 2001 18:15:36 +0000 (18:15 +0000)]
Reformat the "major changes" to 72 or so columns.
Peter Eisentraut [Sat, 17 Mar 2001 18:08:14 +0000 (18:08 +0000)]
Repair.
Peter Eisentraut [Sat, 17 Mar 2001 16:27:31 +0000 (16:27 +0000)]
Tuning for docbook2man.
Thomas G. Lockhart [Sat, 17 Mar 2001 01:53:22 +0000 (01:53 +0000)]
New updates from Roberto Mello sent privately today due to email troubles.
Peter Eisentraut [Fri, 16 Mar 2001 22:12:13 +0000 (22:12 +0000)]
Make note that version 1.1.8 doesn't work.
Marc G. Fournier [Fri, 16 Mar 2001 21:49:51 +0000 (21:49 +0000)]
Generated Changelog since last Beta ...
Marc G. Fournier [Fri, 16 Mar 2001 21:29:15 +0000 (21:29 +0000)]
upgrade version to beta6
Tom Lane [Fri, 16 Mar 2001 17:42:56 +0000 (17:42 +0000)]
Documentation update from Marko Kreen.
Michael Meskes [Fri, 16 Mar 2001 13:05:57 +0000 (13:05 +0000)]
Fixed bug in handling of pointers to structs.
Hiroshi Inoue [Fri, 16 Mar 2001 13:03:04 +0000 (13:03 +0000)]
Oops I forgot to add new files for multibyte support.
Sorry Eiji.
Tom Lane [Fri, 16 Mar 2001 05:44:33 +0000 (05:44 +0000)]
Support syncing WAL log to disk using either fsync(), fdatasync(),
O_SYNC, or O_DSYNC (as available on a given platform). Add GUC parameter
to control sync method.
Also, add defense to XLogWrite to prevent it from going nuts if passed
a target write position that's past the end of the buffers so far filled
by XLogInsert.
Tom Lane [Fri, 16 Mar 2001 05:08:39 +0000 (05:08 +0000)]
Resetting the XLOG can't include rewinding it to logical position zero,
because we need page LSNs stored in the main database to be less than
the current XLOG position. Hence, generate the new XLOG segment at last
old segment number plus one.
Hiroshi Inoue [Fri, 16 Mar 2001 01:17:23 +0000 (01:17 +0000)]
Add multibyte support.
Provide an extenisible scheme of encoding conversion.
As the first step, SJIS and BIG5 are supported.
From now on multibyte people would be happy to use
this psqlodbc driver.
Eiji Tokuya e-tokuya@mail.sankyo-unyu.co.jp
Tom Lane [Thu, 15 Mar 2001 20:01:32 +0000 (20:01 +0000)]
Update sample error messages to agree with current code.
D'Arcy J.M. Cain [Thu, 15 Mar 2001 11:56:05 +0000 (11:56 +0000)]
Fix parameter handling.
Fix a bug where cs.execute('select %d + %d', (1, 2)) would get interpreted
as cs.executemany('select %d + %d', (1, 2))