Bruce Momjian [Tue, 1 Oct 2002 03:24:17 +0000 (03:24 +0000)]
Update HISTORY/release.sgml for 7.2.3.
Tom Lane [Mon, 30 Sep 2002 20:57:11 +0000 (20:57 +0000)]
Back-patch fixes to work around broken mktime() in recent glibc releases.
Tom Lane [Mon, 30 Sep 2002 20:47:22 +0000 (20:47 +0000)]
Back-patch fix for bad SIGUSR2 interrupt handling during backend shutdown.
Tom Lane [Mon, 30 Sep 2002 20:24:53 +0000 (20:24 +0000)]
Back-patch fix for correct TAS operation on multi-CPU PPC machines.
Tom Lane [Mon, 30 Sep 2002 20:18:59 +0000 (20:18 +0000)]
Back-patch fix for 'can't wait without a PROC structure' failures:
remove separate ShutdownBufferPoolAccess exit callback, and do the
work in ProcKill instead, before we delete MyProc.
Tom Lane [Mon, 30 Sep 2002 19:55:08 +0000 (19:55 +0000)]
Back-patch fix to ensure a checkpoint occurs before truncating CLOG,
even if no recent WAL activity has occurred.
Tom Lane [Mon, 30 Sep 2002 19:45:57 +0000 (19:45 +0000)]
Back-patch fix to not change pg_database.datvacuumxid or truncate CLOG
when an unprivileged user runs VACUUM.
Tom Lane [Fri, 20 Sep 2002 21:37:07 +0000 (21:37 +0000)]
Back-patch fix for failure to dump views containing FULL JOIN USING.
The bug is not present in CVS tip due to cleanup of JOIN handling,
but 7.2.* is broken.
Bruce Momjian [Fri, 23 Aug 2002 02:33:06 +0000 (02:33 +0000)]
Update HISTORY with Neil's changes.
Bruce Momjian [Thu, 22 Aug 2002 23:26:26 +0000 (23:26 +0000)]
Stamp the 7.2.2 release.
Tom Lane [Thu, 22 Aug 2002 22:17:22 +0000 (22:17 +0000)]
Fix regression-test breakage from (unnecessary) rewrite of show_datestyle. Grumble.
Tom Lane [Thu, 22 Aug 2002 16:20:38 +0000 (16:20 +0000)]
Back-patch fix to make partial indexes usable on relations other than
the first one listed in a query. Per request from Oleg.
Bruce Momjian [Thu, 22 Aug 2002 05:27:41 +0000 (05:27 +0000)]
Apply Neil Conway's security patches to 7.2.X.
Tatsuo Ishii [Mon, 19 Aug 2002 04:58:26 +0000 (04:58 +0000)]
Fix bug in pg_convert() per report from MaC.Yui.
It pfree() wrong pointer.
Tom Lane [Sat, 15 Jun 2002 18:38:10 +0000 (18:38 +0000)]
Back-patch 7.3 fix to fully parenthesize UNION/EXCEPT/INTERSECT queries
in ruleutils output. The previous partial parenthesization was a hack
to get around grammar restrictions that have since been fixed; and as
Sam O'Connor pointed out, there were cases where it didn't work.
Bruce Momjian [Fri, 7 Jun 2002 21:53:09 +0000 (21:53 +0000)]
Please apply attached patch to contrib/intarray (7.2, 7.3).
Fixed bug with '=' operator for gist__int_ops and
define '=' operator for gist__intbig_ops opclass.
Now '=' operator is consistent with standard 'array' type.
Thanks Achilleus Mantzios for bug report and suggestion.
Oleg Bartunov
Tom Lane [Tue, 28 May 2002 15:40:36 +0000 (15:40 +0000)]
Repair incorrect dumping of user-defined aggregate with null initcond.
(Already fixed in current, but need a patch for 7.2.2.)
Tom Lane [Tue, 28 May 2002 15:25:03 +0000 (15:25 +0000)]
Fix a bug with building rtree_gist indexes.
Patch from Teodor Sigaev.
Tom Lane [Tue, 28 May 2002 15:22:44 +0000 (15:22 +0000)]
Repair error with not adjusting active scans properly after gistSplit.
Patch from Teodor Sigaev.
Tom Lane [Wed, 22 May 2002 17:29:45 +0000 (17:29 +0000)]
Make RelationForgetRelation error out if the relcache entry has nonzero
reference count. This avoids leaving dangling pointers around, as in
recent bug report against sequences (bug# 671).
Tom Lane [Tue, 21 May 2002 18:50:18 +0000 (18:50 +0000)]
Repair OPEN cursor(args), which I broke on 11/29/01 with a change to
be smarter about parentheses in read_sql_construct(). Sigh.
Tom Lane [Tue, 14 May 2002 18:16:54 +0000 (18:16 +0000)]
Remove unnecessary pfree's in geometric operators. At least one of these
is actively dangerous, per bug report from Ewald Geschwinde 14-May-02,
and several of the rest look suspicious to me. Since there is no longer
any significant value in retail pfree's in these functions, just get
rid of all of them for safety's sake.
Tatsuo Ishii [Tue, 14 May 2002 02:08:22 +0000 (02:08 +0000)]
Fix bug in pg_dump and psql (to reproduce the bug, just try pg_dump
--nonexistingoption).
per report from sugita@sra.co.jp on Thu, 09 May 2002 11:57:51 +0900
(JST) at pgsql-patches list.
Illegal long options to pg_dump makes core on some systems, since it
lacks the last null sentinel of struct option array.
Attached is a patch made by Mr. Ishida Akio <iakio@pjam.jpweb.net>.
Tom Lane [Sun, 5 May 2002 17:38:28 +0000 (17:38 +0000)]
plpgsql_dstring_append was broken for long strings.
Hiroshi Inoue [Wed, 1 May 2002 01:27:31 +0000 (01:27 +0000)]
Change heap_get_latest_tid() so that a transaction can
see changes made by the transaction itself.
Tatsuo Ishii [Mon, 8 Apr 2002 06:21:31 +0000 (06:21 +0000)]
A backport patch.
Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f.
This is necessary for mulibyte character sequences.
See "[HACKERS] PQescapeBytea is not multibyte aware" thread posted around
2002/04/05 for more details.
Tom Lane [Tue, 2 Apr 2002 05:12:00 +0000 (05:12 +0000)]
Fix CLOG truncation code to not do the Wrong Thing when there are already
wrapped-around databases. The unvacuumed databases might be fine, or
they might not, but things will definitely not be fine if we remove the
wrong CLOG segments. Per trouble report from Gary Wolfe, 1-Apr-2002.
Bruce Momjian [Tue, 26 Mar 2002 05:34:37 +0000 (05:34 +0000)]
Update release list.
Bruce Momjian [Tue, 26 Mar 2002 05:33:47 +0000 (05:33 +0000)]
Update sgml version properly.
Bruce Momjian [Mon, 25 Mar 2002 21:24:46 +0000 (21:24 +0000)]
New wording:
Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
Bruce Momjian [Mon, 25 Mar 2002 20:58:40 +0000 (20:58 +0000)]
Add to HISTORY:
Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
Tom Lane [Mon, 25 Mar 2002 07:41:21 +0000 (07:41 +0000)]
Re-allow CREATE AS (but not SELECT INTO) in EXECUTE.
Tom Lane [Thu, 21 Mar 2002 06:21:14 +0000 (06:21 +0000)]
Remove long-dead 'fix for SELECT NULL' to stop current coredump.
Bruce Momjian [Tue, 19 Mar 2002 14:16:32 +0000 (14:16 +0000)]
> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> > update pg_amop set amopreqcheck = true where amopclaid =
> > (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear. In the README
> file, and if so, where? Is this something only for people upgrading
> from 7.2?
Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.
Oleg Bartunov
Bruce Momjian [Tue, 19 Mar 2002 00:12:41 +0000 (00:12 +0000)]
Improve wording of bug fix:
Ensure that sequence counters do not go backwards after a crash
Bruce Momjian [Mon, 18 Mar 2002 23:04:11 +0000 (23:04 +0000)]
Update for 7.2.1.
Tom Lane [Sun, 17 Mar 2002 20:05:59 +0000 (20:05 +0000)]
Backpatch array I/O code and documentation fixes, also array slice
lower subscript bounds change.
Thomas G. Lockhart [Fri, 15 Mar 2002 23:37:48 +0000 (23:37 +0000)]
Repair bad calculation in timetz_izone() which gave erroneous results.
Will be patched separately but equivalently in HEAD for 7.3.
Tom Lane [Fri, 15 Mar 2002 19:20:47 +0000 (19:20 +0000)]
Repair two problems with WAL logging of sequence nextvalI() ops, as
per recent pghackers discussion: force a new WAL record at first nextval
after a checkpoint, and ensure that xlog is flushed to disk if a nextval
record is the only thing emitted by a transaction.
Bruce Momjian [Wed, 13 Mar 2002 20:53:15 +0000 (20:53 +0000)]
Update FAQ for 7.2.1.
Bruce Momjian [Mon, 11 Mar 2002 16:55:18 +0000 (16:55 +0000)]
Pleas apply it for 7.2.1 and current CVS.
Patch fixes using lc.lang instead of lc.lc_ctype.
Teodor Sigaev
Thomas G. Lockhart [Sat, 9 Mar 2002 17:41:04 +0000 (17:41 +0000)]
Guard against NULL strings in SET key=val constructs.
Problem noted by Fernando Nasser.
Bruce Momjian [Tue, 5 Mar 2002 06:10:49 +0000 (06:10 +0000)]
Please, apply attached patch for contrib/tsearch to 7.2.1 and current
CVS. It fix english stemmer's problem with ending words like
'technology'.
We have found one more bug in english stemmer. The bug is with
'irregular' english words like 'skies' -> 'sky'. Please, apply attached
cumulative patch to 7.2.1 and current CVS instead previous one.
Thank to Thomas T. Thai <tom@minnesota.com> for hard testing. This kind
of bug has significance only for dump/reload database and viewing, but
searching/indexing works right.
Teodor Sigaev
Tom Lane [Tue, 5 Mar 2002 05:13:36 +0000 (05:13 +0000)]
Previous patch to mark UNION outputs with common typmod (if any) breaks
three-or-more-way UNIONs, as per example from Josh Berkus. Cause is a
fragile assumption that one tlist's entries will exactly match another.
Restructure code to make that assumption a little less fragile.
Tatsuo Ishii [Tue, 5 Mar 2002 03:45:44 +0000 (03:45 +0000)]
A backport patch:
Fix bug in extract/date_part for milliseconds/miscroseconds and
timestamp/timestamptz combo. Now extract/date_part returns
seconds*1000 or
1000000 + fraction part as the manual stats.
regression test are also fixed.
See the thread in pgsql-hackers:
Subject: Re: [HACKERS] timestamp_part() bug?
Date: Sat, 02 Mar 2002 11:29:53 +0900
Tom Lane [Mon, 4 Mar 2002 17:47:24 +0000 (17:47 +0000)]
Update FAQ_Solaris with info about gcc 2.95.1 problems and how to work
around 64-bit vsnprintf bug.
Tom Lane [Wed, 27 Feb 2002 23:17:01 +0000 (23:17 +0000)]
Back-patch fix for errors reported at transaction end.
Tatsuo Ishii [Wed, 27 Feb 2002 01:47:31 +0000 (01:47 +0000)]
Back-patch fix for followings:
Fix bug in COPY FROM when DELIMITER is not in ASCII range.
See pgsql-bugs/pgsql-hackers discussion "COPY FROM is not 8bit clean"
around 2002/02/26 for more details -- Tatsuo Ishii
Tom Lane [Tue, 26 Feb 2002 23:48:47 +0000 (23:48 +0000)]
Back-patch fix for command completion report handling. This is
primarily needed so that INSERTing a row still reports the row's OID
even when there are ON INSERT rules firing additional queries.
Tom Lane [Mon, 25 Feb 2002 21:37:47 +0000 (21:37 +0000)]
Tweak psql's \connect command to not downcase unquoted database and user
names. This is a temporary measure to allow backwards compatibility with
7.2 and earlier pg_dump. 7.2.1 and later pg_dump will double-quote mixed
case names in \connect. Once we feel that older dumps are not a problem
anymore, we can revert this change and treat \connect arguments as normal
SQL identifiers.
Bruce Momjian [Mon, 25 Feb 2002 20:07:33 +0000 (20:07 +0000)]
Fix for PAM error message display:
> and that the right fix is to make each of the subsequent calls be in
> this same pattern, not to try to emulate their nonsensical style.
Dominic J. Eidson
Thomas G. Lockhart [Mon, 25 Feb 2002 16:22:48 +0000 (16:22 +0000)]
Add a large number of time zones to the lookup table.
Fix a few apparently-wrong TZ vs DTZ declarations.
Same patch as added to HEAD.
Bruce Momjian [Fri, 22 Feb 2002 15:40:28 +0000 (15:40 +0000)]
We had a problem with to compile pgsql-7.2 under SW-8.0.
In the mailing lists I found no informations.
See note for further informations.
Add missing AuthBlockSig.
regards Heiko
Bruce Momjian [Fri, 22 Feb 2002 13:03:01 +0000 (13:03 +0000)]
BACKPATCH:
Add Russian FAQ to 7.2.1. Why not?
Bruce Momjian [Fri, 22 Feb 2002 06:08:48 +0000 (06:08 +0000)]
BACKPATCH:
Please, apply attached patch of contrib/btree_gist to 7.2.1 and current
cvs.
The patch fixes memory leak during creation GiST index on timestamp
column.
Thank you.
--
Teodor Sigaev
teodor@stack.net
Tom Lane [Tue, 19 Feb 2002 22:19:42 +0000 (22:19 +0000)]
Avoid failures in cash_out and cash_words for INT_MIN.
Also, 'fourty' -> 'forty'.
Tom Lane [Mon, 18 Feb 2002 16:04:21 +0000 (16:04 +0000)]
Replace number-of-distinct-values estimator equation, per recent
pghackers discussion.
Tatsuo Ishii [Mon, 18 Feb 2002 04:12:34 +0000 (04:12 +0000)]
Fix kanji-coversion key binding. This has been broken since 7.1
Per Yoshinori Ariie's report.
Bruce Momjian [Sun, 17 Feb 2002 13:29:00 +0000 (13:29 +0000)]
Fix SGML typo in previous patch.
Bruce Momjian [Sun, 17 Feb 2002 11:50:09 +0000 (11:50 +0000)]
I think it's important that it's actually documented that they can add
primary keys after the fact!
Also, we need to add regression tests for alter table / add primary key
and alter table / drop constraint. These shouldn't be added until 7.3
tho
methinks...
Chris
Bruce Momjian [Sat, 16 Feb 2002 23:45:48 +0000 (23:45 +0000)]
Clarify params to ALTER TABLE to clearly show single parameters.
e.g. table contraint definition -> table_constraint_definition.
Peter Eisentraut [Fri, 15 Feb 2002 17:46:57 +0000 (17:46 +0000)]
Remove warning about automatic inclusion of sqlca.
Bruce Momjian [Thu, 14 Feb 2002 17:15:00 +0000 (17:15 +0000)]
Update FAQ.
Tom Lane [Thu, 14 Feb 2002 15:24:10 +0000 (15:24 +0000)]
Ensure that a cursor is scanned under the same scanCommandId it was
originally created with, so that the set of visible tuples does not
change as a result of other activity. This essentially makes PG cursors
INSENSITIVE per the SQL92 definition. See bug report of 13-Feb-02.
Tom Lane [Wed, 13 Feb 2002 19:32:17 +0000 (19:32 +0000)]
Point out that --adduser actually makes the new user a superuser. This
was mentioned on the man page for the underlying CREATE USER command,
but it should be explained here too.
Bruce Momjian [Wed, 13 Feb 2002 14:36:43 +0000 (14:36 +0000)]
Add DROP COLUMN status from Hiroshi.
Tom Lane [Tue, 12 Feb 2002 23:41:25 +0000 (23:41 +0000)]
Use RTLD_NOW, not RTLD_LAZY, as binding mode for dlopen() on all platforms.
This restores the Linux behavior to what it was in PG 7.0 and 7.1, and
causes other platforms to agree. (Other well-tested platforms like HPUX
were doing it this way already.) Per pghackers discussion over the past
month or so.
Tom Lane [Tue, 12 Feb 2002 22:35:07 +0000 (22:35 +0000)]
Add warning not to use /usr/ucb/cc on Solaris.
Bruce Momjian [Tue, 12 Feb 2002 22:25:15 +0000 (22:25 +0000)]
Fix tutorial for references problem, from rainer.tammer@spg.schulergroup.com
Bruce Momjian [Tue, 12 Feb 2002 22:24:36 +0000 (22:24 +0000)]
Clarify working in 'top x items using sequential scan' item
Tom Lane [Tue, 12 Feb 2002 21:25:41 +0000 (21:25 +0000)]
Modify COPY TO to emit carriage returns and newlines as backslash escapes
(backslash-r, backslash-n) for protection against newline-conversion
munging. In future we will also tweak COPY FROM, but this part of the
change should be backwards-compatible. Per pghackers discussion.
Also, update COPY reference page to describe the backslash conversions
more completely and accurately.
Bruce Momjian [Tue, 12 Feb 2002 17:18:10 +0000 (17:18 +0000)]
Update FAQ.
Bruce Momjian [Tue, 12 Feb 2002 17:14:55 +0000 (17:14 +0000)]
Update FAQ.
Bruce Momjian [Mon, 11 Feb 2002 23:25:14 +0000 (23:25 +0000)]
Update wal files computation documentation.
Tom Lane [Mon, 11 Feb 2002 22:41:59 +0000 (22:41 +0000)]
Tweak GiST code to work correctly on machines where 8-byte alignment
of pointers is required. Patch from Teodor Sigaev per pghackers
discussion. It's an ugly kluge but avoids forcing initdb; we'll put
a better fix into 7.3 or later.
Peter Eisentraut [Mon, 11 Feb 2002 21:38:11 +0000 (21:38 +0000)]
Fix for old FreeBSD versions that don't have RTLD_GLOBAL
Tom Lane [Mon, 11 Feb 2002 20:10:50 +0000 (20:10 +0000)]
Repair problems with EvalPlanQual where target table is scanned as
inner indexscan (ie, one with runtime keys). ExecIndexReScan must
compute or recompute runtime keys even if we are rescanning in the
EPQ case. TidScan seems to have comparable problems. Per bug
noted by Barry Lind 11-Feb-02.
Bruce Momjian [Mon, 11 Feb 2002 18:14:56 +0000 (18:14 +0000)]
Fix typo.
< o prevent lose of indexes, permissions, inheritance (Bruce)
---
> o prevent loss of indexes, permissions, inheritance (Bruce)
Bruce Momjian [Mon, 11 Feb 2002 15:19:33 +0000 (15:19 +0000)]
Fix flag handling of pg_upgrade.
Tom Lane [Mon, 11 Feb 2002 00:18:20 +0000 (00:18 +0000)]
Be more wary about mixed-case database names and user names. Get
the CREATE DATABASE command right in pg_dump -C case.
Tom Lane [Mon, 11 Feb 2002 00:14:10 +0000 (00:14 +0000)]
pg_dump and pg_restore man pages need to mention that one should restore
into a virgin database, ie, one created from template0, if there are any
site-local additions in template1.
Tom Lane [Sun, 10 Feb 2002 22:56:31 +0000 (22:56 +0000)]
Don't Assert() that fsync() and close() never fail; I have seen this
crash on Solaris when over disk quota. Instead, report such failures
via elog(DEBUG).
Bruce Momjian [Fri, 8 Feb 2002 16:30:11 +0000 (16:30 +0000)]
Move sys/types.h to top, for hiroyuki hanai/ FreeBSD.
Bruce Momjian [Fri, 8 Feb 2002 14:47:56 +0000 (14:47 +0000)]
Upgrade my2pg version 1.23.
Bruce Momjian [Fri, 8 Feb 2002 06:41:30 +0000 (06:41 +0000)]
Oops, already completed:
< * Have checkpoint process identify itself via ps status display
Bruce Momjian [Fri, 8 Feb 2002 04:32:17 +0000 (04:32 +0000)]
Added:
> * Have checkpoint process identify itself via ps status display
Tom Lane [Thu, 7 Feb 2002 22:20:26 +0000 (22:20 +0000)]
pgstat's truncation of query string needs to be multibyte-aware.
Patch from sugita@sra.co.jp.
Tom Lane [Thu, 7 Feb 2002 22:11:43 +0000 (22:11 +0000)]
Repair some problems in GIST-index contrib modules. Patch from
Teodor Sigaev <teodor@stack.net>.
Hiroshi Inoue [Thu, 7 Feb 2002 00:27:30 +0000 (00:27 +0000)]
Removed a check for REINDEX TABLE.
Peter Eisentraut [Wed, 6 Feb 2002 20:29:35 +0000 (20:29 +0000)]
Fix for parallel make
Tom Lane [Wed, 6 Feb 2002 17:27:50 +0000 (17:27 +0000)]
Fix failure to reconnect as sequence's owner before issuing setval().
Bruce Momjian [Mon, 4 Feb 2002 20:51:22 +0000 (20:51 +0000)]
Update for Tom:
< * Allow row re-use with automatic vacuum (Tom)
356c355
<
---
> * Provide automatic scheduling of background vacuum (Tom)
Bruce Momjian [Mon, 4 Feb 2002 20:46:36 +0000 (20:46 +0000)]
Modified/Added
< * Allow row re-use without vacuum (Tom)
---
> * Allow row re-use with automatic vacuum (Tom)
> * Flush cached query plans when their underlying catalog data changes
Bruce Momjian [Sun, 3 Feb 2002 21:04:12 +0000 (21:04 +0000)]
Stamp configure/configure.in for 7.2, already did register.txt and
bug.template.
Bruce Momjian [Sun, 3 Feb 2002 21:00:09 +0000 (21:00 +0000)]
Stamp 7.2 for release.
Bruce Momjian [Sun, 3 Feb 2002 19:24:30 +0000 (19:24 +0000)]
Remove ENHANCEMENTS section, move subsections up.
Bruce Momjian [Sat, 2 Feb 2002 21:46:45 +0000 (21:46 +0000)]
Update FAQ.
Bruce Momjian [Sat, 2 Feb 2002 20:34:33 +0000 (20:34 +0000)]
Update FAQ.
Bruce Momjian [Sat, 2 Feb 2002 20:34:16 +0000 (20:34 +0000)]
Update for 7.2:
This fixes references to 7.1.3 (I think). It also
modifies the japanese
FAQ, so I'm not sure if that's done correctly.
Chris
Bruce Momjian [Fri, 1 Feb 2002 20:28:32 +0000 (20:28 +0000)]
Update FAQ_DEV.