users/hanada/postgres.git
14 years agoBe more explicit about the meaning of the change in standard_conforming_strings.
Tom Lane [Wed, 11 May 2011 03:44:33 +0000 (23:44 -0400)]
Be more explicit about the meaning of the change in standard_conforming_strings.

14 years agoMention "backslash" escape processing change in 9.1 release notes.
Bruce Momjian [Wed, 11 May 2011 00:56:44 +0000 (20:56 -0400)]
Mention "backslash" escape processing change in 9.1 release notes.

14 years agoPrevent datebsearch() from crashing on base == NULL && nel == 0.
Tom Lane [Wed, 11 May 2011 00:36:22 +0000 (20:36 -0400)]
Prevent datebsearch() from crashing on base == NULL && nel == 0.

Normally nel == 0 works okay because the initial value of "last" will be
less than "base"; but if "base" is zero then the calculation wraps around
and we have a very large (unsigned) value for "last", so that the loop can
be entered and we get a SIGSEGV on a bogus pointer.

This is certainly the proximate cause of the recent reports of Windows
builds crashing on 'infinity'::timestamp --- evidently, they're either not
setting an active timezonetktbl, or setting an empty one.  It's not yet
clear to me why it's only happening on Windows and not happening on any
buildfarm member.  But even if that's due to some bug elsewhere, it seems
wise for this function to not choke on the powerup values of
timezonetktbl/sztimezonetktbl.

I also changed the copy of this code in ecpglib, although I am not sure
whether it's exposed to a similar hazard.

Per report and stack trace from Richard Broersma.

14 years agoFor create/dropdb, only connect once to the server since we now have a
Bruce Momjian [Tue, 10 May 2011 23:44:15 +0000 (19:44 -0400)]
For create/dropdb, only connect once to the server since we now have a
shared description table for pg_database comments.

Also update comments about database name selection.

14 years agoAdd some punctuation
Peter Eisentraut [Tue, 10 May 2011 19:37:50 +0000 (22:37 +0300)]
Add some punctuation

14 years agoPut options in more alphabetical order
Peter Eisentraut [Tue, 10 May 2011 19:37:22 +0000 (22:37 +0300)]
Put options in more alphabetical order

14 years agoPut options help in alphabetical order
Peter Eisentraut [Tue, 10 May 2011 18:48:07 +0000 (21:48 +0300)]
Put options help in alphabetical order

14 years agoFormat pg_upgrade --version in line with conventions
Peter Eisentraut [Tue, 10 May 2011 18:40:29 +0000 (21:40 +0300)]
Format pg_upgrade --version in line with conventions

14 years agoAdd bug report line to pg_upgrade --help output