Peter Eisentraut [Mon, 3 Jan 2005 22:39:24 +0000 (22:39 +0000)]
Translation updates
Tom Lane [Mon, 3 Jan 2005 18:49:41 +0000 (18:49 +0000)]
Repair bufmgr deadlock problem reported by Michael Wildpaner. Must take
share lock on a buffer being written out before releasing BufMgrLock in
the BufferAlloc code path; if we do it later we might block on someone
who's re-pinned the buffer. I believe this is only an issue for BufferAlloc
and not the other places that call FlushBuffer. BufferSync must continue
to do it the old way since it may well be trying to write buffers that
other backends have pinned; but it should not be holding any conflicting
locks. FlushRelationBuffers is okay since it's got exclusive lock at the
relation level.
Bruce Momjian [Mon, 3 Jan 2005 06:16:54 +0000 (06:16 +0000)]
Update copyright script.
Bruce Momjian [Sun, 2 Jan 2005 21:08:14 +0000 (21:08 +0000)]
Add:
> * Allow building with directories containing spaces
Tom Lane [Sat, 1 Jan 2005 22:14:33 +0000 (22:14 +0000)]
Adjust a few more copyright notices to match the format expected by
the src/tools/copyright script.
Tom Lane [Sat, 1 Jan 2005 20:44:34 +0000 (20:44 +0000)]
Some more missed copyright notices. Many of these look like they
should have been caught by the src/tools/copyright script ... why
weren't they?
Bruce Momjian [Sat, 1 Jan 2005 17:29:17 +0000 (17:29 +0000)]
Update:
< the Win32 wcscoll() can be used.
> the Win32 wcscoll() can be used, and perhaps other functions
> like towupper().
Bruce Momjian [Sat, 1 Jan 2005 17:25:01 +0000 (17:25 +0000)]
Update:
< the Win32 strcoll() can be used.
> the Win32 wcscoll() can be used.
Bruce Momjian [Sat, 1 Jan 2005 16:36:57 +0000 (16:36 +0000)]
Update:
< o Disallow encodings like UTF8 which which PostgreSQL supports
> o Disallow encodings like UTF8 which PostgreSQL supports
914a915,917
>
> To fix UTF8, the data needs to be converted to UTF16 and then
> the Win32 strcoll() can be used.
Bruce Momjian [Sat, 1 Jan 2005 05:43:09 +0000 (05:43 +0000)]
Update copyrights that were missed.
PostgreSQL Daemon [Fri, 31 Dec 2004 22:22:24 +0000 (22:22 +0000)]
forgot to autoconf after tag'ng configure.in with rc3
PostgreSQL Daemon [Fri, 31 Dec 2004 22:04:05 +0000 (22:04 +0000)]
Tag appropriate files for rc3
Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
Tom Lane [Fri, 31 Dec 2004 19:09:37 +0000 (19:09 +0000)]
Clean up win32ver.o on Windows, per Magnus.
Tom Lane [Fri, 31 Dec 2004 19:01:54 +0000 (19:01 +0000)]
make clean must remove zic$(X) for Windows, per Magnus.
Tom Lane [Thu, 30 Dec 2004 21:45:37 +0000 (21:45 +0000)]
More minor updates and copy-editing.
Michael Meskes [Thu, 30 Dec 2004 09:36:37 +0000 (09:36 +0000)]
Fixed segfault in connect when specifying no database name.
Tom Lane [Thu, 30 Dec 2004 03:13:56 +0000 (03:13 +0000)]
More updates and copy-editing. Rearrange order of sections a little bit
to put more widely useful info before less widely useful info.
Tom Lane [Thu, 30 Dec 2004 00:30:40 +0000 (00:30 +0000)]
Triggers should return TRIGGER not OPAQUE. Looks like this script got
overlooked in 7.3 updates. Not a critical fix but avoids a notice when
the resulting SQL script is executed.
Tom Lane [Wed, 29 Dec 2004 23:47:40 +0000 (23:47 +0000)]
Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net
Tom Lane [Wed, 29 Dec 2004 23:36:47 +0000 (23:36 +0000)]
Convert external-projects to an appendix.
Tom Lane [Wed, 29 Dec 2004 21:36:09 +0000 (21:36 +0000)]
Refactor EXEC_BACKEND code so that postmaster child processes reattach
to shared memory as soon as possible, ie, right after read_backend_variables.
The effective difference from the original code is that this happens
before instead of after read_nondefault_variables(), which loads GUC
information and is apparently capable of expanding the backend's memory
allocation more than you'd think it should. This should fix the
failure-to-attach-to-shared-memory reports we've been seeing on Windows.
Also clean up a few bits of unnecessarily grotty EXEC_BACKEND code.
Peter Eisentraut [Wed, 29 Dec 2004 02:30:16 +0000 (02:30 +0000)]
Translation updates
Tom Lane [Tue, 28 Dec 2004 23:17:54 +0000 (23:17 +0000)]
Make libpq default to localhost connections on machines without Unix-domain
sockets, rather than failing as it formerly did. Revert the
thereby-obsoleted patch to make psql supply the localhost default.
Tom Lane [Tue, 28 Dec 2004 22:47:15 +0000 (22:47 +0000)]
More minor updates and copy-editing.
Tom Lane [Tue, 28 Dec 2004 19:08:58 +0000 (19:08 +0000)]
More minor updates and copy-editing.
Tom Lane [Tue, 28 Dec 2004 15:25:55 +0000 (15:25 +0000)]
BDST should be "British double SUMMER time", not Standard time.
Per John Smith.
Bruce Momjian [Mon, 27 Dec 2004 22:44:44 +0000 (22:44 +0000)]
Add:
> * Improve the background writer
>
> Allow the background writer to more efficiently write dirty buffers
> from the end of the LRU cache and use a clock sweep algorithm to
> write other dirty buffers to reduced checkpoint I/O
Tom Lane [Mon, 27 Dec 2004 22:30:10 +0000 (22:30 +0000)]
More minor updates and copy-editing.
Tom Lane [Mon, 27 Dec 2004 20:39:21 +0000 (20:39 +0000)]
Make sure --with-pgport option propagates into postgresql.conf.
Per gripe from Josh Berkus.
Tom Lane [Mon, 27 Dec 2004 20:13:48 +0000 (20:13 +0000)]
Move info about psql console code page issues out of install-win32.sgml,
where it doesn't belong, and put it in the psql reference page.
Tom Lane [Mon, 27 Dec 2004 19:19:24 +0000 (19:19 +0000)]
Cause pg_hba.conf file inclusion (@file stuff) to behave as documented,
that is, files are sought in the same directory as the referencing file.
Also allow absolute paths in @file constructs. Improve documentation
to actually say what is allowed in an included file.
Peter Eisentraut [Mon, 27 Dec 2004 14:24:22 +0000 (14:24 +0000)]
Translation update
Tom Lane [Sun, 26 Dec 2004 23:20:12 +0000 (23:20 +0000)]
Fix func_ptr declaration for netbsd-mac68k, per Rémi Zara.
Tom Lane [Sun, 26 Dec 2004 23:06:56 +0000 (23:06 +0000)]
More minor updates and copy-editing.
Tom Lane [Sun, 26 Dec 2004 19:20:33 +0000 (19:20 +0000)]
Rearrange include file contents into a saner order, add inclusion of
<signal.h>. Per Andrew Dunstan.
Bruce Momjian [Fri, 24 Dec 2004 19:20:18 +0000 (19:20 +0000)]
Improve Win32 install instructions.
Tom Lane [Fri, 24 Dec 2004 19:12:37 +0000 (19:12 +0000)]
Minor updates and copy-editing.
Bruce Momjian [Fri, 24 Dec 2004 18:37:26 +0000 (18:37 +0000)]
Back out Win32 changes until Tom is done.
Bruce Momjian [Fri, 24 Dec 2004 18:32:50 +0000 (18:32 +0000)]
Adjust documention for Win32 installation options.
Bruce Momjian [Fri, 24 Dec 2004 18:11:16 +0000 (18:11 +0000)]
Update docs for Win32 installation, per Tom.
Bruce Momjian [Fri, 24 Dec 2004 17:19:23 +0000 (17:19 +0000)]
Updates from Ian Barwick.
Update FAQ with new URL's for site.
Bruce Momjian [Fri, 24 Dec 2004 17:13:51 +0000 (17:13 +0000)]
Update FAQ.
Tom Lane [Fri, 24 Dec 2004 16:55:43 +0000 (16:55 +0000)]
Remove 'optimization' to skip resolve_symlinks() when the found
executable file isn't itself a symlink. We still need to run the
algorithm so that any directory symlinks in the path to the
executable are replaced by a true path. Noticed this on seeing
pg_config give me a completely wrong answer for --pkglibdir when
I called it through a symlink to the installation bindir.
Bruce Momjian [Fri, 24 Dec 2004 16:02:36 +0000 (16:02 +0000)]
Update FAQ with new URL's for site.
Tom Lane [Fri, 24 Dec 2004 15:42:05 +0000 (15:42 +0000)]
Switch order of WHERE clauses in tab completion queries, as suggested
by Rod Taylor. The foo_is_visible() functions are relatively slow and
so it pays to check them after checking the name pattern match.
Tom Lane [Thu, 23 Dec 2004 23:07:38 +0000 (23:07 +0000)]
More minor updates and copy-editing.
Tom Lane [Thu, 23 Dec 2004 22:42:15 +0000 (22:42 +0000)]
Avoid memory leakage during VACUUM FULL when an index expression or
index predicate uses temporary memory for evaluation. Per example
from Jean-Gerard Pailloncy.
Bruce Momjian [Thu, 23 Dec 2004 13:19:17 +0000 (13:19 +0000)]
Add missing ecpg prototype for newly added functions.
Michael Meskes [Thu, 23 Dec 2004 10:46:10 +0000 (10:46 +0000)]
Added PGTYPEStimestamp_add_interval written by Dave Cramer.
Fixed parsing of defines to make sure they used more than once.
Tom Lane [Thu, 23 Dec 2004 05:37:40 +0000 (05:37 +0000)]
A small pass of docs review and copy-editing.
Tom Lane [Thu, 23 Dec 2004 03:49:40 +0000 (03:49 +0000)]
Use float8-small-is-zero for netbsd on m68k, per Rémi Zara.
Tom Lane [Thu, 23 Dec 2004 00:03:24 +0000 (00:03 +0000)]
Remove extra parenthesis.
Tom Lane [Wed, 22 Dec 2004 18:45:49 +0000 (18:45 +0000)]
Awhile back I added some code to StartupCLOG() to forcibly zero out
the remainder of the current clog page during system startup. While
this was a good idea, it turns out the code fails if nextXid is
exactly at a page boundary, because we won't have created the "current"
clog page yet in that case. Since the page will be correctly zeroed
when we execute the first transaction on it, the solution is just to
do nothing when exactly at a page boundary. Per trouble report from
Dave Hartwig.
Bruce Momjian [Wed, 22 Dec 2004 02:17:15 +0000 (02:17 +0000)]
Add mention that pg_ctl will return an accurate exit code when waiting
for startup or shutdown. We have always done this but it wasn't documented.
Tom Lane [Tue, 21 Dec 2004 18:47:42 +0000 (18:47 +0000)]
Add '-Wl,' prefix to linker switches consistently. Remove shlib_symbolic
macros, which aren't used anywhere and haven't been for some time.
Tom Lane [Tue, 21 Dec 2004 18:33:36 +0000 (18:33 +0000)]
exec_eval_simple_expr() needs to do CommandCounterIncrement() not just
GetTransactionSnapshot() to ensure ActiveSnapshot advances properly.
Sigh. Extend regression test so it reveals this error too.
Bruce Momjian [Tue, 21 Dec 2004 17:58:30 +0000 (17:58 +0000)]
Add error checking for starting a win32 service using pg_ctl.
Bruce Momjian [Tue, 21 Dec 2004 17:38:01 +0000 (17:38 +0000)]
Return proper error exit code on pg_ctl -w start failure.
Peter Eisentraut [Tue, 21 Dec 2004 11:14:18 +0000 (11:14 +0000)]
Translation update
PostgreSQL Daemon [Tue, 21 Dec 2004 02:53:33 +0000 (02:53 +0000)]
tag files for rc2
Tom Lane [Tue, 21 Dec 2004 02:14:41 +0000 (02:14 +0000)]
Patch to make libpq.rc be a built-for-distribution file was a few
bricks shy of a load.
Bruce Momjian [Tue, 21 Dec 2004 01:23:54 +0000 (01:23 +0000)]
Add:
> * Allow the PITR process to be debugged and data examined
Bruce Momjian [Tue, 21 Dec 2004 01:21:50 +0000 (01:21 +0000)]
Add:
> * Allow a warm standby system to also allow read-only queries
Bruce Momjian [Tue, 21 Dec 2004 01:02:28 +0000 (01:02 +0000)]
I was recently surprised to find that EXTRACT's day of the week
numbering is different than TO_CHAR's ditto. EXTRACT starts at 0==Sunday
while TO_CHAR starts at 1==Sunday.
A suggestion for two documentation notes is attached as a patch to
current CVS HEAD.
Troels Arvin
Bruce Momjian [Mon, 20 Dec 2004 21:00:48 +0000 (21:00 +0000)]
Mention libpq.rc.in is now the file to update for releases.
Tom Lane [Mon, 20 Dec 2004 19:17:56 +0000 (19:17 +0000)]
Ensure that 'disabling statistics collector' is logged in all failure
paths of pgstat_init. Responds to confusion exhibited by Christoph Haller.
Tom Lane [Mon, 20 Dec 2004 19:00:37 +0000 (19:00 +0000)]
Add support for Latin9 encoding in to_ascii(). Jaime Casanova
Tom Lane [Mon, 20 Dec 2004 18:15:07 +0000 (18:15 +0000)]
Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out
when it changes. Per request from Kris Jurka.
Tom Lane [Mon, 20 Dec 2004 17:40:59 +0000 (17:40 +0000)]
In pipe_read_line Windows code, loop to ensure we get a whole line
from the child process; fixes observed problems when the returned
version number is '8.0.0' rather than '8.0.0rc1'. Magnus Hagander
Tom Lane [Mon, 20 Dec 2004 17:13:41 +0000 (17:13 +0000)]
Remove direct inclusions of <com_err.h> as well as configure test for
its presence. This amounts to desupporting Kerberos 5 releases 1.0.*,
which is small loss, and simplifies use of our Kerberos code on platforms
with Red-Hat-style include file layouts. Per gripe from John Gray and
followup discussion.
Tom Lane [Mon, 20 Dec 2004 01:42:11 +0000 (01:42 +0000)]
Adjust pg_resetxlog to handle 8.0 WAL file names properly.
Tom Lane [Sun, 19 Dec 2004 22:10:41 +0000 (22:10 +0000)]
Fix broken markup.
Tom Lane [Sun, 19 Dec 2004 20:20:27 +0000 (20:20 +0000)]
plpgsql's exec_eval_simple_expr() now has to take responsibility for
advancing ActiveSnapshot when we are inside a volatile function.
Per example from Gaetano Mendola. Add a regression test to catch
similar problems in future.
Tom Lane [Sun, 19 Dec 2004 19:39:47 +0000 (19:39 +0000)]
Prevent evaluation of backticks while discarding unwanted arguments
after an unknown or failed psql backslash command, and also while
discarding "extra" arguments of a putatively valid backslash command.
In the case of an unknown/failed command, make sure we discard the
whole rest of the line, rather than trying to resume at the next
backslash. Per discussion with Thomer Gil.
Bruce Momjian [Sun, 19 Dec 2004 04:36:27 +0000 (04:36 +0000)]
Add:
> * Allow psql \pset boolean variables to set to fixed values, rather than toggle
Bruce Momjian [Sun, 19 Dec 2004 04:09:48 +0000 (04:09 +0000)]
Mention why unixware doesn't handle threading in 8.0.
Bruce Momjian [Sun, 19 Dec 2004 04:06:23 +0000 (04:06 +0000)]
Test for POSIX.1c 2-arg sigwait() and fail on single-arg version.
Bruce Momjian [Sun, 19 Dec 2004 02:16:31 +0000 (02:16 +0000)]
Add Win32 version stamps that increment each day for proper SYSTEM32
DLL pginstaller installs.
Bruce Momjian [Sat, 18 Dec 2004 22:12:52 +0000 (22:12 +0000)]
Allow NetBSD, m64k to compile the ASM spinlock code.
R?mi Zara
Tom Lane [Sat, 18 Dec 2004 18:36:33 +0000 (18:36 +0000)]
Add note warning that OS X updates usually overwrite /etc/rc.
Bruce Momjian [Sat, 18 Dec 2004 04:21:43 +0000 (04:21 +0000)]
Changes the doc's to reflect what the user will find as default.
Robert Treat
Bruce Momjian [Sat, 18 Dec 2004 04:18:21 +0000 (04:18 +0000)]
Many thanks to Joachim Wieland for a big list of corrections / updates.
Ian Barwick
Bruce Momjian [Sat, 18 Dec 2004 04:13:20 +0000 (04:13 +0000)]
Update from Ian Barwick
Tom Lane [Fri, 17 Dec 2004 20:59:58 +0000 (20:59 +0000)]
Make array_cat more paranoid about checking datatypes in empty arrays.
Tom Lane [Fri, 17 Dec 2004 20:58:26 +0000 (20:58 +0000)]
array_map failed to insert correct result type in an empty array.
Per example from Florian Pflug.
Tom Lane [Fri, 17 Dec 2004 04:50:32 +0000 (04:50 +0000)]
Minor copy-editing in tutorial.
Tom Lane [Fri, 17 Dec 2004 03:52:49 +0000 (03:52 +0000)]
In a PGXS build, expect to find the postgres executable already installed,
rather than in $(top_builddir)/src/backend/postgres. Sean Chittenden
Neil Conway [Fri, 17 Dec 2004 03:51:36 +0000 (03:51 +0000)]
Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL. There have been
several reports of users being confused when they attempt to use ELSEIF
and run into trouble due to PL/PgSQL's lax parser. The parser will be
improved for 8.1, but we can fix most of the problem by allowing ELSEIF
for now.
Tom Lane [Fri, 17 Dec 2004 02:14:48 +0000 (02:14 +0000)]
Hook up the plpython result-object nrows and status methods correctly.
Adjust documentation to match current reality.
Tom Lane [Fri, 17 Dec 2004 00:10:36 +0000 (00:10 +0000)]
Fix is-it-time-for-a-checkpoint logic so that checkpoint_segments can
usefully be larger than 255. Per gripe from Simon Riggs.
Bruce Momjian [Fri, 17 Dec 2004 00:04:30 +0000 (00:04 +0000)]
Add Win32:
> o Disallow encodings like UTF8 which which PostgreSQL supports
> but the operating system does not (already disallowed by
> pginstaller)
Bruce Momjian [Thu, 16 Dec 2004 22:11:06 +0000 (22:11 +0000)]
Update release changes list to mention pg_config.h.win32.
Bruce Momjian [Thu, 16 Dec 2004 22:05:07 +0000 (22:05 +0000)]
Update version for Win32-client include file.
Tom Lane [Thu, 16 Dec 2004 20:41:01 +0000 (20:41 +0000)]
Cause configure --with-tcl to check for presence of <tcl.h>, as per
gripe from John Gray. Also fix thinko in pltcl Makefile: if a special
Tcl include directory is specified, that ought to be searched first.
Bruce Momjian [Thu, 16 Dec 2004 18:13:07 +0000 (18:13 +0000)]
Allow --enable-thread-safety with --disable-shared libraries by passing
PTHREAD_LIBS to all libpq-usage builds.
Bruce Momjian [Thu, 16 Dec 2004 17:48:29 +0000 (17:48 +0000)]
Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS to
binary compiles, and adjust configure tests for AIX.
Peter Eisentraut [Thu, 16 Dec 2004 11:31:55 +0000 (11:31 +0000)]
Translation updates
Peter Eisentraut [Thu, 16 Dec 2004 11:23:16 +0000 (11:23 +0000)]
Add port report
Bruce Momjian [Thu, 16 Dec 2004 01:08:23 +0000 (01:08 +0000)]
Add French IRC channel.
Bruce Momjian [Thu, 16 Dec 2004 00:01:33 +0000 (00:01 +0000)]
Add Spanish IRC channel to FAQ.