summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-08-22Fix regression-test breakage from (unnecessary) rewrite of show_datestyle. ↵Tom Lane
Grumble.
2002-08-22Back-patch fix to make partial indexes usable on relations other thanTom Lane
the first one listed in a query. Per request from Oleg.
2002-08-22Apply Neil Conway's security patches to 7.2.X.Bruce Momjian
2002-08-19Fix bug in pg_convert() per report from MaC.Yui.Tatsuo Ishii
It pfree() wrong pointer.
2002-06-15Back-patch 7.3 fix to fully parenthesize UNION/EXCEPT/INTERSECT queriesTom Lane
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.
2002-05-28Repair incorrect dumping of user-defined aggregate with null initcond.Tom Lane
(Already fixed in current, but need a patch for 7.2.2.)
2002-05-28Repair error with not adjusting active scans properly after gistSplit.Tom Lane
Patch from Teodor Sigaev.
2002-05-22Make RelationForgetRelation error out if the relcache entry has nonzeroTom Lane
reference count. This avoids leaving dangling pointers around, as in recent bug report against sequences (bug# 671).
2002-05-21Repair OPEN cursor(args), which I broke on 11/29/01 with a change toTom Lane
be smarter about parentheses in read_sql_construct(). Sigh.
2002-05-14Remove unnecessary pfree's in geometric operators. At least one of theseTom Lane
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.
2002-05-14Fix bug in pg_dump and psql (to reproduce the bug, just try pg_dumpTatsuo Ishii
--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>.
2002-05-05plpgsql_dstring_append was broken for long strings.Tom Lane
2002-05-01Change heap_get_latest_tid() so that a transaction canHiroshi Inoue
see changes made by the transaction itself.
2002-04-08A backport patch.Tatsuo Ishii
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.
2002-04-02Fix CLOG truncation code to not do the Wrong Thing when there are alreadyTom Lane
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.
2002-03-26Update release list.REL7_2_1Bruce Momjian
2002-03-26Update sgml version properly.Bruce Momjian
2002-03-25Re-allow CREATE AS (but not SELECT INTO) in EXECUTE.Tom Lane
2002-03-21Remove long-dead 'fix for SELECT NULL' to stop current coredump.Tom Lane
2002-03-18Update for 7.2.1.Bruce Momjian
2002-03-17Backpatch array I/O code and documentation fixes, also array sliceTom Lane
lower subscript bounds change.
2002-03-15Repair bad calculation in timetz_izone() which gave erroneous results.Thomas G. Lockhart
Will be patched separately but equivalently in HEAD for 7.3.
2002-03-15Repair two problems with WAL logging of sequence nextvalI() ops, asTom Lane
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.
2002-03-09Guard against NULL strings in SET key=val constructs.Thomas G. Lockhart
Problem noted by Fernando Nasser.
2002-03-05Previous patch to mark UNION outputs with common typmod (if any) breaksTom Lane
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.
2002-03-05A backport patch:Tatsuo Ishii
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
2002-02-27Back-patch fix for errors reported at transaction end.Tom Lane
2002-02-27Back-patch fix for followings:Tatsuo Ishii
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
2002-02-26Back-patch fix for command completion report handling. This isTom Lane
primarily needed so that INSERTing a row still reports the row's OID even when there are ON INSERT rules firing additional queries.
2002-02-25Tweak psql's \connect command to not downcase unquoted database and userTom Lane
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.
2002-02-25Fix for PAM error message display:Bruce Momjian
> 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
2002-02-25Add a large number of time zones to the lookup table.Thomas G. Lockhart
Fix a few apparently-wrong TZ vs DTZ declarations. Same patch as added to HEAD.
2002-02-22We had a problem with to compile pgsql-7.2 under SW-8.0.Bruce Momjian
In the mailing lists I found no informations. See note for further informations. Add missing AuthBlockSig. regards Heiko
2002-02-19Avoid failures in cash_out and cash_words for INT_MIN.Tom Lane
Also, 'fourty' -> 'forty'.
2002-02-18Replace number-of-distinct-values estimator equation, per recentTom Lane
pghackers discussion.
2002-02-18Fix kanji-coversion key binding. This has been broken since 7.1Tatsuo Ishii
Per Yoshinori Ariie's report.
2002-02-15Remove warning about automatic inclusion of sqlca.Peter Eisentraut
2002-02-14Ensure that a cursor is scanned under the same scanCommandId it wasTom Lane
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.
2002-02-12Use RTLD_NOW, not RTLD_LAZY, as binding mode for dlopen() on all platforms.Tom Lane
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.
2002-02-12Modify COPY TO to emit carriage returns and newlines as backslash escapesTom Lane
(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.
2002-02-11Tweak GiST code to work correctly on machines where 8-byte alignmentTom Lane
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.
2002-02-11Fix for old FreeBSD versions that don't have RTLD_GLOBALPeter Eisentraut
2002-02-11Repair problems with EvalPlanQual where target table is scanned asTom Lane
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.
2002-02-11Be more wary about mixed-case database names and user names. GetTom Lane
the CREATE DATABASE command right in pg_dump -C case.
2002-02-10Don't Assert() that fsync() and close() never fail; I have seen thisTom Lane
crash on Solaris when over disk quota. Instead, report such failures via elog(DEBUG).
2002-02-08Move sys/types.h to top, for hiroyuki hanai/ FreeBSD.Bruce Momjian
2002-02-07pgstat's truncation of query string needs to be multibyte-aware.Tom Lane
Patch from sugita@sra.co.jp.
2002-02-07Removed a check for REINDEX TABLE.Hiroshi Inoue
2002-02-06Fix failure to reconnect as sequence's owner before issuing setval().Tom Lane
2002-01-30Update Win32-world version number of libpq++.Peter Eisentraut