Commit Graph

12040 Commits

Author SHA1 Message Date
Tom Lane
680dc79f17 Add #include <errno.h> per recent reports that it's now necessary on
RHL 9.  (Not clear why it didn't break long before, actually...)
2003-04-11 20:51:27 +00:00
Tom Lane
07b776f52f Fix buffer overrun in to_ascii(), per report from Guido Notari. 2003-04-02 21:08:14 +00:00
Tom Lane
28afe6f8ef TestConfiguration returns int, not bool. This mistake is relatively
harmless on signed-char machines but would lead to core dump in the
deadlock detection code if char is unsigned.  Amazingly, this bug has
been here since 7.1 and yet wasn't reported till now.  Thanks to Robert
Bruccoleri for providing the opportunity to track it down.
2003-03-31 20:33:09 +00:00
Tom Lane
40faf433b0 Async_NotifyHandler must save and restore ImmediateInterruptOK. Fixes
known problem with failure to respond to 'pg_ctl stop -m fast', and
probable problems if SIGINT or SIGTERM arrives while processing a
SIGUSR2 interrupt that arrived while waiting for a new client query.
2003-03-13 23:44:07 +00:00
D'Arcy J.M. Cain
f08392b55a Back patch bug fix to quote function. 2003-02-27 10:43:50 +00:00
Tom Lane
895491bc22 Brand 7.2.4. 2003-01-29 22:13:19 +00:00
Tom Lane
d106c799e6 Update release history for 7.2.4. 2003-01-29 22:12:42 +00:00
Tom Lane
dd10354587 Back-patch fix to avoid integer overflow in ExecHashJoinGetBatch(),
which leads to core dump in large-enough hash joins.
2003-01-29 19:37:23 +00:00
Tom Lane
2357fd166f Back-patch fixes to detoast pg_group.grolist. 2003-01-26 23:16:23 +00:00
Tom Lane
12fa07750e Back-patch fixes to ensure t_ctid always has correct value (prevents
some instances of 'No one parent tuple' VACUUM error, and perhaps
worse things).
2003-01-26 23:09:37 +00:00
Tom Lane
3c877e57f3 Back-patch fix for alphabetization mistakes in datetime token tables. 2003-01-26 22:33:16 +00:00
Tom Lane
adf852ba4a Back-patch fix to ensure pg_clog updates are not only written but sync'ed
before we consider the checkpoint to be done.
2003-01-21 19:51:42 +00:00
Tom Lane
0c3cf79244 Back-patch fixes for integer overflows in circle_poly(), path_encode(),
and path_add() --- from Neil Conway.  Also, repair recently-detected
errors in lseg_eq(), lseg_ne(), lseg_center().
2003-01-21 19:41:26 +00:00
Tom Lane
474f1130c6 Back-patch fix for VACUUM being confused by SELECT FOR UPDATE of tuple
that was previously outdated by a transaction that later aborted.
Also, prevent VACUUM from being called inside function.
2003-01-21 19:38:21 +00:00
Bruce Momjian
4526d2183f Brand 7.2.3. 2002-10-01 03:34:29 +00:00
Bruce Momjian
9227bc5e5b Update HISTORY/release.sgml for 7.2.3. 2002-10-01 03:24:17 +00:00
Tom Lane
407517f039 Back-patch fixes to work around broken mktime() in recent glibc releases. 2002-09-30 20:57:11 +00:00
Tom Lane
96464fa37c Back-patch fix for bad SIGUSR2 interrupt handling during backend shutdown. 2002-09-30 20:47:22 +00:00
Tom Lane
c6ec2a8ba5 Back-patch fix for correct TAS operation on multi-CPU PPC machines. 2002-09-30 20:24:53 +00:00
Tom Lane
c9e3806e57 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.
2002-09-30 20:18:59 +00:00
Tom Lane
c80d09f123 Back-patch fix to ensure a checkpoint occurs before truncating CLOG,
even if no recent WAL activity has occurred.
2002-09-30 19:55:08 +00:00
Tom Lane
a829ad1570 Back-patch fix to not change pg_database.datvacuumxid or truncate CLOG
when an unprivileged user runs VACUUM.
2002-09-30 19:45:57 +00:00
Tom Lane
826692788d 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.
2002-09-20 21:37:07 +00:00
Bruce Momjian
30ab8da488 Update HISTORY with Neil's changes. 2002-08-23 02:33:06 +00:00
Bruce Momjian
17e543ee97 Stamp the 7.2.2 release. 2002-08-22 23:26:26 +00:00
Tom Lane
5a2c7c3e10 Fix regression-test breakage from (unnecessary) rewrite of show_datestyle. Grumble. 2002-08-22 22:17:22 +00:00
Tom Lane
8c905b0aa9 Back-patch fix to make partial indexes usable on relations other than
the first one listed in a query.  Per request from Oleg.
2002-08-22 16:20:38 +00:00
Bruce Momjian
cd9f392cd0 Apply Neil Conway's security patches to 7.2.X. 2002-08-22 05:27:41 +00:00
Tatsuo Ishii
76fc795e5c Fix bug in pg_convert() per report from MaC.Yui.
It pfree() wrong pointer.
2002-08-19 04:58:26 +00:00
Tom Lane
7e49585cad 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.
2002-06-15 18:38:10 +00:00
Bruce Momjian
a67387b6b4 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
2002-06-07 21:53:09 +00:00
Tom Lane
b81737bfa8 Repair incorrect dumping of user-defined aggregate with null initcond.
(Already fixed in current, but need a patch for 7.2.2.)
2002-05-28 15:40:36 +00:00
Tom Lane
efe861c855 Fix a bug with building rtree_gist indexes.
Patch from Teodor Sigaev.
2002-05-28 15:25:03 +00:00
Tom Lane
5b792153fc Repair error with not adjusting active scans properly after gistSplit.
Patch from Teodor Sigaev.
2002-05-28 15:22:44 +00:00
Tom Lane
63448825fb 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).
2002-05-22 17:29:45 +00:00
Tom Lane
ce362bf8be Repair OPEN cursor(args), which I broke on 11/29/01 with a change to
be smarter about parentheses in read_sql_construct().  Sigh.
2002-05-21 18:50:18 +00:00
Tom Lane
490b12d53e 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.
2002-05-14 18:16:54 +00:00
Tatsuo Ishii
964f1fa734 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>.
2002-05-14 02:08:22 +00:00
Tom Lane
77c4ba63b8 plpgsql_dstring_append was broken for long strings. 2002-05-05 17:38:28 +00:00
Hiroshi Inoue
ffd1a5d853 Change heap_get_latest_tid() so that a transaction can
see changes made by the transaction itself.
2002-05-01 01:27:31 +00:00
Tatsuo Ishii
891ce19bcc 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.
2002-04-08 06:21:31 +00:00
Tom Lane
af997458eb 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.
2002-04-02 05:12:00 +00:00
Bruce Momjian
9de8b7b9f2 Update release list. 2002-03-26 05:34:37 +00:00
Bruce Momjian
70cde084ee Update sgml version properly. 2002-03-26 05:33:47 +00:00
Bruce Momjian
22b32cb511 New wording:
Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
2002-03-25 21:24:46 +00:00
Bruce Momjian
ff71f2aee6 Add to HISTORY:
Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
2002-03-25 20:58:40 +00:00
Tom Lane
df739a0200 Re-allow CREATE AS (but not SELECT INTO) in EXECUTE. 2002-03-25 07:41:21 +00:00
Tom Lane
b2d05d58eb Remove long-dead 'fix for SELECT NULL' to stop current coredump. 2002-03-21 06:21:14 +00:00
Bruce Momjian
94a4677a75 > > 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
2002-03-19 14:16:32 +00:00
Bruce Momjian
873a986cf8 Improve wording of bug fix:
Ensure that sequence counters do not go backwards after a crash
2002-03-19 00:12:41 +00:00