Bruce Momjian [Fri, 27 Dec 2002 14:07:14 +0000 (14:07 +0000)]
Trivial patch to increase max_fsm_pages as per earlier discussion.
Philip Warner
Bruce Momjian [Mon, 23 Dec 2002 22:19:26 +0000 (22:19 +0000)]
Update SSL error message for improper permissions. Backpatch to 7.3.X.
Tom Lane [Sat, 21 Dec 2002 01:07:21 +0000 (01:07 +0000)]
Fix possible buffer overrun in \d command: substr(..., 128) produces
a result of at most 128 chars, but that could be more than 128 bytes.
Also ensure we don't try to pfree uninitialized pointers during error
cleanup.
Bruce Momjian [Fri, 20 Dec 2002 00:24:29 +0000 (00:24 +0000)]
Update 7.3.1 to give proper attribution to pg_dump item.
Peter Eisentraut [Wed, 18 Dec 2002 23:38:08 +0000 (23:38 +0000)]
Fix release notes and installation instructions for 7.3.1 release.
Bruce Momjian [Wed, 18 Dec 2002 20:39:31 +0000 (20:39 +0000)]
Update Russian FAQ. Update all FAQ's for 7.3.X branch.
Bruce Momjian [Wed, 18 Dec 2002 20:07:43 +0000 (20:07 +0000)]
Update RELEASE checklist.
Bruce Momjian [Wed, 18 Dec 2002 20:07:02 +0000 (20:07 +0000)]
Update INSTALL file for 7.3.1.
PostgreSQL Daemon [Wed, 18 Dec 2002 13:20:03 +0000 (13:20 +0000)]
From the SSL_CTX_new man page:
"SSLv23_method(void), SSLv23_server_method(void), SSLv23_client_method(void)
A TLS/SSL connection established with these methods will understand the SSLv2,
SSLv3, and TLSv1 protocol. A client will send out SSLv2 client hello messages
and will indicate that it also understands SSLv3 and TLSv1. A server will
understand SSLv2, SSLv3, and TLSv1 client hello messages. This is the best
choice when compatibility is a concern."
This will maintain backwards compatibility for those us that don't use
TLS connections ...
Bruce Momjian [Wed, 18 Dec 2002 04:41:06 +0000 (04:41 +0000)]
Update FAQ for 7.3.1.
Bruce Momjian [Wed, 18 Dec 2002 02:07:30 +0000 (02:07 +0000)]
Stamp 7.3.1.
Tom Lane [Mon, 16 Dec 2002 18:39:57 +0000 (18:39 +0000)]
Fix ALTER TABLE ADD COLUMN to disallow the same column types that are
disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types
from being introduced by the range-function syntax. While at it, allow
CREATE TABLE to create zero-column tables, per recent pghackers discussion.
I am back-patching this into 7.3 since failure to disallow pseudo-types
is arguably a security hole.
Bruce Momjian [Sat, 14 Dec 2002 18:49:43 +0000 (18:49 +0000)]
The actual segfault was caused by a double pfree(), but ISTM that
failing to find pg_hba.conf should be a fatal error anyway, so I
increased the priority of the elog() from LOG to FATAL and refactored
the code a little bit.
Neil Conway
Bruce Momjian [Sat, 14 Dec 2002 18:39:39 +0000 (18:39 +0000)]
Ok, I think I've gotten this figured out now. I saw this comment in
pqcomm.c, switched the ERROR logs to COMMERROR logs and it all works.
I've attached a patch to be-secure.c that fixes all my problems.
Nathan Mueller
Bruce Momjian [Fri, 13 Dec 2002 22:20:22 +0000 (22:20 +0000)]
Backpatch SSL fixes into 7.3.1.
Bruce Momjian [Fri, 13 Dec 2002 22:18:22 +0000 (22:18 +0000)]
Increment libpq major number for 7.3.1 and minor for 7.4.
Bruce Momjian [Fri, 13 Dec 2002 05:50:41 +0000 (05:50 +0000)]
This patch fixes minor bugs in dictionary generator in contrib/tsearch
(contrib/tsearch/makedict/makedict.pl)
[ Backpatched to 7.3.]
Teodor Sigaev
Tom Lane [Thu, 12 Dec 2002 19:17:04 +0000 (19:17 +0000)]
Guard against overrunning CTZName buffer when TZ is bogus.
Tom Lane [Thu, 12 Dec 2002 16:16:58 +0000 (16:16 +0000)]
Back-patch fix to prevent core dump in EXPLAIN if optimizer has
simplified function call to a constant. (7.3 won't actually execute
such a plan anyway, but core dump is bad regardless.)
Bruce Momjian [Wed, 11 Dec 2002 22:27:34 +0000 (22:27 +0000)]
Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user.
template/sco updated.
Bruce Momjian [Wed, 11 Dec 2002 22:17:31 +0000 (22:17 +0000)]
Fix line count error reporting in config files, like pg_hba.conf, per
report from Oliver Elphick.
Backpatch to 7.3.
Bruce Momjian [Wed, 11 Dec 2002 04:08:05 +0000 (04:08 +0000)]
Bump version for 7.3 and 7.4.
Peter Eisentraut [Tue, 10 Dec 2002 20:00:27 +0000 (20:00 +0000)]
Translation updates
Bruce Momjian [Mon, 9 Dec 2002 21:03:42 +0000 (21:03 +0000)]
This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not
"OS/X".
Neil Conway
Peter Eisentraut [Mon, 9 Dec 2002 19:42:31 +0000 (19:42 +0000)]
Fix Latin1/Unicode conversion by selecting the right table.
Bruce Momjian [Mon, 9 Dec 2002 17:45:17 +0000 (17:45 +0000)]
As far as I figured from the source code this function only deals with
cleaning up locale names and nothing else. Since all the locale names
are in plain ASCII I think it will be safe to use ASCII-only lower-case
conversion.
Nicolai Tufar
Tom Lane [Fri, 6 Dec 2002 19:28:13 +0000 (19:28 +0000)]
Explain's code for showing quals of SubqueryScan nodes has been broken
all along; not noticed till now. It's a scan not an upper qual ...
Bruce Momjian [Fri, 6 Dec 2002 05:15:32 +0000 (05:15 +0000)]
Thank you very much, you catch it :). This bug had a long life, because it
exists if and only if locale of postmaster
was a different from C (or ru_RU.KOI8-R).
Please, apply patch for current CVS & 7.3.1
Magnus Naeslund(f) wrote:
> Ok, I nailed the bug, but i'm not sure what the correct fix is.
> Attached tsearch_morph.diff that remedies this problem by avoiding it.
> Also there's a debug aid patch if someone would like to know how i
> finally found it out :)
>
> There problem in the lemmatize() function is that GETDICT(...) returned
> a value not handled (BYLOCALE).
> The value (-1) and later used as an index into the dicts[] array.
> After that everything went berserk stack went crazy somehow so trapping
> the fault sent me to the wrong place, and every time i read the value it
> was positive ;)
>
> So now i just return the initial word passed to the lemmatize function,
> because i don't know what to do with it.
Magnus Naeslund
Tom Lane [Thu, 5 Dec 2002 22:48:10 +0000 (22:48 +0000)]
localbuf.c must be able to do blind writes.
Tom Lane [Thu, 5 Dec 2002 21:46:55 +0000 (21:46 +0000)]
Avoid pulling up sublinks from a subselect's targetlist. Works around
problems that occur if sublink is referenced via a join alias variable.
Perhaps this can be improved later, but a simple and safe fix is needed
for 7.3.1.
Bruce Momjian [Thu, 5 Dec 2002 21:04:14 +0000 (21:04 +0000)]
It looks like the problem was introduced when the "SET autocommit" and
"SET search_path" commands were added to the beginning of the script.
The attatched patch should fix the problem. It probably should be
applied against the 7.3 and 7.4 branches.
Steven Singer
Bruce Momjian [Thu, 5 Dec 2002 18:40:08 +0000 (18:40 +0000)]
Allow 'password' encryption even when pg_shadow has MD5 passwords, per
report from Terry Yapt and Hiroshi.
Backpatch to 7.3.
Dave Cramer [Thu, 5 Dec 2002 01:09:58 +0000 (01:09 +0000)]
changed sort of column names to sort by attnum, not attname
Tom Lane [Wed, 4 Dec 2002 20:00:19 +0000 (20:00 +0000)]
Repair oversight in recent change of dependency extraction code: when
recursing to handle a join alias var, the context had better be set to
be appropriate to the join var's query level. Per report from Hristo Neshev.
Tom Lane [Tue, 3 Dec 2002 07:12:23 +0000 (07:12 +0000)]
Fix off-by-one bug in usage check.
Tom Lane [Mon, 2 Dec 2002 05:21:02 +0000 (05:21 +0000)]
Repair core dump when trying to delete an entry from an already-NULL
datconfig or useconfig field. Per report from Dustin Sallings.
Tom Lane [Mon, 2 Dec 2002 00:29:05 +0000 (00:29 +0000)]
Fix script name in README.
Tom Lane [Mon, 2 Dec 2002 00:28:34 +0000 (00:28 +0000)]
Fix dependency generation for multicolumn foreign keys. From Adam Buraczewski.
Tom Lane [Sun, 1 Dec 2002 18:44:09 +0000 (18:44 +0000)]
Fix pg_dump failure against 7.1 or older servers, per
report from Philip Warner.
Tom Lane [Sun, 1 Dec 2002 17:33:33 +0000 (17:33 +0000)]
Repair coredump in COPY OUT when client encoding is different from
server encoding, per report from Nicolai Tufar. This is a minimum-risk
patch for 7.3.1 --- I intend to apply a more general repair in HEAD.
Tom Lane [Fri, 29 Nov 2002 19:25:38 +0000 (19:25 +0000)]
Repair prehistoric logic error in lseg_eq and lseg_ne.
Tom Lane [Wed, 27 Nov 2002 23:21:20 +0000 (23:21 +0000)]
rm should be rm -f, per comment from Peter Harris.
(Checked with Peter Eisentraut.)
Tom Lane [Wed, 27 Nov 2002 17:04:45 +0000 (17:04 +0000)]
Update resultmap pattern for geometry-solaris-i386-pc: should match
solaris 2.8 as well as 2.7. Per report from Martin Renters.
Bruce Momjian [Tue, 26 Nov 2002 22:06:26 +0000 (22:06 +0000)]
Update TODO in 7.3 branch
Bruce Momjian [Tue, 26 Nov 2002 22:04:55 +0000 (22:04 +0000)]
Recreate HISTORY file to match release.sgml changes. Stamp 7.3 final in
configure/configure.in.
Bruce Momjian [Tue, 26 Nov 2002 19:22:40 +0000 (19:22 +0000)]
Update build rules for /HISTORY.
Bruce Momjian [Tue, 26 Nov 2002 05:17:27 +0000 (05:17 +0000)]
Fix typo in release notes.
Bruce Momjian [Tue, 26 Nov 2002 03:08:23 +0000 (03:08 +0000)]
Allocate proper length for sprintf string, from Tatsuo.
Tatsuo Ishii [Tue, 26 Nov 2002 02:37:13 +0000 (02:37 +0000)]
Guard against 0 length string encoding conversion case.
Bruce Momjian [Mon, 25 Nov 2002 21:42:11 +0000 (21:42 +0000)]
Remove check for pg_group file as part of initdb -W password assignment
--- not needed.
Tom Lane [Sat, 23 Nov 2002 18:59:29 +0000 (18:59 +0000)]
Fix inappropriate quoting in dblink. From Joe Conway.
Tom Lane [Sat, 23 Nov 2002 03:50:39 +0000 (03:50 +0000)]
Update ports list from recent regression-test-database entries.
Tom Lane [Sat, 23 Nov 2002 02:41:10 +0000 (02:41 +0000)]
Release note improvements (Neil, Tom)
Tom Lane [Sat, 23 Nov 2002 01:54:23 +0000 (01:54 +0000)]
Remove inappropriate double-quoting in connectby() code; adjust
regression test to avoid using VALUE as a name. From Joe Conway.
Tom Lane [Fri, 22 Nov 2002 16:25:55 +0000 (16:25 +0000)]
Fix a dozen or so places that were passing unpredictable data strings
as elog format strings. Hai-Chen Tu pointed out the problem in
contrib/dbmirror, but it wasn't the only such error.
Bruce Momjian [Fri, 22 Nov 2002 16:05:06 +0000 (16:05 +0000)]
Fix elog in dbmirror to use %s.
Hai-Chen Tu
Tom Lane [Fri, 22 Nov 2002 03:09:59 +0000 (03:09 +0000)]
Quote database name properly when invoking pg_dump. Per report from
Christopher Kings-Lynne.
Tom Lane [Fri, 22 Nov 2002 01:13:28 +0000 (01:13 +0000)]
TAS code originally written for s390 (32-bit) does not work for s390x
(64-bit). Fix it. Per report from Permaine Cheung.
Peter Eisentraut [Thu, 21 Nov 2002 23:31:58 +0000 (23:31 +0000)]
Fixups for man pages
Tom Lane [Thu, 21 Nov 2002 23:31:37 +0000 (23:31 +0000)]
Fix breakage in new-in-7.3 timetz_zone() function: was giving random
results due to doing arithmetic on uninitialized values. Add some
documentation about the AT TIME ZONE construct. Update some other
date/time documentation that seemed out of date for 7.3.
Peter Eisentraut [Thu, 21 Nov 2002 23:31:09 +0000 (23:31 +0000)]
Regenerate
Tom Lane [Thu, 21 Nov 2002 06:36:27 +0000 (06:36 +0000)]
Code review for superuser_reserved_connections patch. Don't try to do
database access outside a transaction; revert bogus performance improvement
in SIBackendInit(); improve comments; add documentation (this part courtesy
Neil Conway).
Tom Lane [Thu, 21 Nov 2002 04:40:41 +0000 (04:40 +0000)]
NetBSD versions 1.6 and (we hope) later can use the standard geometry
comparison file, instead of geometry-positive-zeros. Per report from
Patrick Welche.
Tom Lane [Thu, 21 Nov 2002 00:45:18 +0000 (00:45 +0000)]
This locale-specific variant file seems not to have been updated
when a test was added to select_having.sql back in June.
Bruce Momjian [Wed, 20 Nov 2002 22:02:25 +0000 (22:02 +0000)]
Update ports list.
Barry Lind [Wed, 20 Nov 2002 20:42:24 +0000 (20:42 +0000)]
Fix a stupid cut and paste error from the commit last night.
Modified Files:
Tag: REL7_3_STABLE
AbstractJdbc2Statement.java
Barry Lind [Wed, 20 Nov 2002 07:54:27 +0000 (07:54 +0000)]
Backport bug with executeBatch. This bug was a regression from 7.2 and has
been reported by Marko Strukelj and Keith Wannamaker
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/test/jdbc2/BatchExecuteTest.java
Bruce Momjian [Tue, 19 Nov 2002 17:18:14 +0000 (17:18 +0000)]
Back out NetBSD/arm32 port.
Bruce Momjian [Tue, 19 Nov 2002 16:40:49 +0000 (16:40 +0000)]
Update ports list.
Bruce Momjian [Mon, 18 Nov 2002 19:30:33 +0000 (19:30 +0000)]
Fix markup breakage.
Peter Eisentraut [Mon, 18 Nov 2002 18:08:22 +0000 (18:08 +0000)]
Fix typo and markup.
Bruce Momjian [Mon, 18 Nov 2002 05:02:34 +0000 (05:02 +0000)]
Update ports list.
Bruce Momjian [Mon, 18 Nov 2002 04:41:14 +0000 (04:41 +0000)]
Stamp RC2.
Tom Lane [Mon, 18 Nov 2002 01:17:50 +0000 (01:17 +0000)]
Put back error test for DECLARE CURSOR outside a transaction block ...
but do it correctly now.
Peter Eisentraut [Sun, 17 Nov 2002 13:17:55 +0000 (13:17 +0000)]
Revise SQL features list.
PostgreSQL Daemon [Sat, 16 Nov 2002 19:48:30 +0000 (19:48 +0000)]
mis-tag'd as the release instead of rc1 ...
Bruce Momjian [Sat, 16 Nov 2002 02:34:22 +0000 (02:34 +0000)]
Update TODO/FAQ for 7.3 release.
Bruce Momjian [Sat, 16 Nov 2002 02:21:21 +0000 (02:21 +0000)]
Update for RC1.
Tom Lane [Fri, 15 Nov 2002 02:37:08 +0000 (02:37 +0000)]
Push qual clauses containing subplans to the back of the qual list
at each plan node. Per gripe from Ross Reedstrom.
Bruce Momjian [Thu, 14 Nov 2002 18:40:11 +0000 (18:40 +0000)]
Update ports list.
Bruce Momjian [Thu, 14 Nov 2002 14:53:38 +0000 (14:53 +0000)]
Fix Magnus's name.
Bruce Momjian [Thu, 14 Nov 2002 14:52:04 +0000 (14:52 +0000)]
Fix version number for FreeBSD/alpha on ports list.
Bruce Momjian [Thu, 14 Nov 2002 14:24:26 +0000 (14:24 +0000)]
Update ports list.
Barry Lind [Thu, 14 Nov 2002 05:54:39 +0000 (05:54 +0000)]
Backpatch from head: fixes for a threading bug, a problem with setNull involving
server prepared statements and an improved error message
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
Bruce Momjian [Thu, 14 Nov 2002 04:59:39 +0000 (04:59 +0000)]
Update ports list.
Bruce Momjian [Thu, 14 Nov 2002 04:00:19 +0000 (04:00 +0000)]
Update ports list.
Peter Eisentraut [Wed, 13 Nov 2002 21:30:39 +0000 (21:30 +0000)]
Update German translations.
Tom Lane [Wed, 13 Nov 2002 17:24:11 +0000 (17:24 +0000)]
Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300.
Tom Lane [Wed, 13 Nov 2002 16:40:29 +0000 (16:40 +0000)]
Use cat instead of echo or awk, to avoid portability problems with backslashes.
Bruce Momjian [Tue, 12 Nov 2002 20:20:37 +0000 (20:20 +0000)]
Add AIX as supported platform.
Tom Lane [Tue, 12 Nov 2002 20:02:38 +0000 (20:02 +0000)]
Update AIX resultmap for horology tests, per Andreas.
Tatsuo Ishii [Tue, 12 Nov 2002 11:30:50 +0000 (11:30 +0000)]
Fix broken GB18030 <--> UTF-8 conversion map
Tom Lane [Tue, 12 Nov 2002 00:39:36 +0000 (00:39 +0000)]
Remove NO_MKTIME_BEFORE_1970. I had speculated that it was not needed
anymore given the mktime() workaround now done in DetermineLocalTimeZone.
This has now been confirmed by Robert Bruccoleri for Irix, and I'm going
to extrapolate to AIX as well.
Peter Eisentraut [Mon, 11 Nov 2002 20:02:07 +0000 (20:02 +0000)]
Improve formatting of release notes. Update makefile rule to make
HISTORY file.
Peter Eisentraut [Mon, 11 Nov 2002 19:59:56 +0000 (19:59 +0000)]
Revise platform FAQs.
Peter Eisentraut [Mon, 11 Nov 2002 19:59:05 +0000 (19:59 +0000)]
Improve wording.
Barry Lind [Mon, 11 Nov 2002 07:33:24 +0000 (07:33 +0000)]
Merge changes from head. (update classname for PGConnection)
Barry Lind [Mon, 11 Nov 2002 07:30:08 +0000 (07:30 +0000)]
Merge fix from head for proper join to pg_description
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
Tom Lane [Mon, 11 Nov 2002 03:33:44 +0000 (03:33 +0000)]
Add cast to suppress compile warning on Alphas.
Bruce Momjian [Sun, 10 Nov 2002 19:49:24 +0000 (19:49 +0000)]
Update russian FAQ, from Viktor Vislobokov.