Tom Lane [Sun, 16 Jan 2000 00:45:33 +0000 (00:45 +0000)]
Back-patch critical fixes for NUMERIC values in plpgsql functions.
Tom Lane [Sun, 16 Jan 2000 00:44:06 +0000 (00:44 +0000)]
Back-patch critical fixes for NUMERIC...
Tom Lane [Mon, 10 Jan 2000 04:16:10 +0000 (04:16 +0000)]
Back-patch a low-risk fix for the 'HEAP_MOVED_IN was not expected' bug:
just dike out the code that tries to remove pages from fraged_pages.
Tom Lane [Sat, 8 Jan 2000 21:47:31 +0000 (21:47 +0000)]
Back-patch fix for oversize index tuples during index creation.
Tom Lane [Tue, 4 Jan 2000 17:27:26 +0000 (17:27 +0000)]
Back-patch fix for problems with oversize pg_statistic tuples when both
the min and max values of a column are long.
Thomas G. Lockhart [Tue, 4 Jan 2000 07:56:23 +0000 (07:56 +0000)]
Repair two recently reported problems:
1) datetime_pl_span() added the seconds field before adding the months
field. This lead to erroneous results for e.g.
select datetime '1999-11-30' + timespan '1 mon - 1 sec';
Reverse the order of operations to add months first.
2) tm2timespan() did all intermediate math as integer, converting to double
at the very end. This resulted in hidden overflows when given very large
integer days, hours, etc. For example,
select '74565 days'::timespan;
produced the wrong result. Change code to ensure that doubles are used
for intermediate calculations.
Thanks to Olivier PRENANT <ohp@pyrenet.fr> and
Tulassay Zsolt <zsolt@tek.bke.hu> for problem reports and to Tom Lane for
accurate analyses.
Bruce Momjian [Sun, 2 Jan 2000 02:11:13 +0000 (02:11 +0000)]
Update length of timestamp to 30.
Bruce Momjian [Sun, 2 Jan 2000 01:38:48 +0000 (01:38 +0000)]
Backpatch Y2K timestamp patch.
Bruce Momjian [Wed, 29 Dec 1999 10:18:10 +0000 (10:18 +0000)]
Move NT patch into readme.
Bruce Momjian [Wed, 29 Dec 1999 10:14:46 +0000 (10:14 +0000)]
Add NT patch.
Tom Lane [Sun, 26 Dec 1999 20:44:15 +0000 (20:44 +0000)]
Back-patch defense against oversize index tuples and fix for trying to
split a page that only has one entry.
Bruce Momjian [Thu, 16 Dec 1999 02:57:14 +0000 (02:57 +0000)]
MAC addr compare fix.
Thomas G. Lockhart [Mon, 6 Dec 1999 16:23:25 +0000 (16:23 +0000)]
Fix typo in the startup example for RH Linux.
Thanks to Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>.
Tom Lane [Wed, 1 Dec 1999 15:30:46 +0000 (15:30 +0000)]
Back-patch fix for password checker's file descriptor leak.
Bruce Momjian [Tue, 23 Nov 1999 18:50:13 +0000 (18:50 +0000)]
Fix _cplusplus test in both trees.
Tatsuo Ishii [Mon, 15 Nov 1999 09:56:21 +0000 (09:56 +0000)]
Tree dividing is not appropriate in Rtree.
This fix is reported by Hiroki Kataoka (kataoka@interwiz.koganei.tokyo.jp).
Bruce Momjian [Fri, 12 Nov 1999 17:05:24 +0000 (17:05 +0000)]
Update NT readme with new name.
Bruce Momjian [Sun, 7 Nov 1999 12:18:37 +0000 (12:18 +0000)]
Fix ecpg quoting bug in 6.5.* release.
Bruce Momjian [Thu, 4 Nov 1999 16:22:41 +0000 (16:22 +0000)]
Update bsdi for bsd/os 4.1
Bruce Momjian [Tue, 2 Nov 1999 04:45:47 +0000 (04:45 +0000)]
Fix for perl5.
Bruce Momjian [Tue, 2 Nov 1999 02:35:58 +0000 (02:35 +0000)]
Update for perl5 in Makefile.
Bruce Momjian [Tue, 2 Nov 1999 00:24:29 +0000 (00:24 +0000)]
Update for pgaccess 0.98
Bruce Momjian [Mon, 1 Nov 1999 16:21:18 +0000 (16:21 +0000)]
Update for 6.5.3.
Tom Lane [Mon, 1 Nov 1999 14:35:52 +0000 (14:35 +0000)]
Backpatch REL6_5 for missing inherit '*' in rule dumps.
Bruce Momjian [Sun, 31 Oct 1999 19:56:37 +0000 (19:56 +0000)]
Update for pgaccess 0.98.
Bruce Momjian [Sun, 31 Oct 1999 12:40:38 +0000 (12:40 +0000)]
Update for pgaccess 0.98.
Bruce Momjian [Sun, 31 Oct 1999 12:34:10 +0000 (12:34 +0000)]
Update for 0.98 pgaccess
Bruce Momjian [Sat, 30 Oct 1999 21:22:07 +0000 (21:22 +0000)]
Update pgaccess for 0.98.
Tom Lane [Tue, 19 Oct 1999 04:38:07 +0000 (04:38 +0000)]
Back-patch LIMIT + INTERSECT fix into 6.5.*.
Hiroshi Inoue [Tue, 19 Oct 1999 02:54:39 +0000 (02:54 +0000)]
Not to change pg_log status after "commit".
This will happen when elog(ERROR)(elog(FATAL) also in 7.0) is
called in vacuum after the internal commit.
Bruce Momjian [Wed, 13 Oct 1999 11:11:41 +0000 (11:11 +0000)]
update jdbc version #.
Bruce Momjian [Tue, 12 Oct 1999 16:04:48 +0000 (16:04 +0000)]
Update new HISTORY file.
Bruce Momjian [Tue, 12 Oct 1999 15:35:08 +0000 (15:35 +0000)]
Update for 6.5.3, including new INSTALL file and updated HISTORY.
Bruce Momjian [Tue, 12 Oct 1999 14:55:01 +0000 (14:55 +0000)]
I have created a small patch that makes possible to compile pgsql on newer
Cygwin snapshots (tested on 990115 which is recommended to use - it fixes
some errors in B20.1)
And I have another patch for including <sys/ipc.h> before <sys/sem.h> in
backend/storage/lmgr/proc.c - it is required due the design of cygipc
headers
Dan
Bruce Momjian [Sat, 9 Oct 1999 01:30:46 +0000 (01:30 +0000)]
Move __alpha to port/alpha.h.
Bruce Momjian [Fri, 8 Oct 1999 17:15:07 +0000 (17:15 +0000)]
Define __alpha__ for __alpha.
Bruce Momjian [Tue, 28 Sep 1999 13:08:27 +0000 (13:08 +0000)]
Update README.NT
Bruce Momjian [Tue, 28 Sep 1999 05:10:18 +0000 (05:10 +0000)]
Update FAQ.
Bruce Momjian [Tue, 28 Sep 1999 01:43:20 +0000 (01:43 +0000)]
Update NT readme.
Bruce Momjian [Mon, 27 Sep 1999 19:56:02 +0000 (19:56 +0000)]
Update README.NT
Bruce Momjian [Mon, 27 Sep 1999 18:33:21 +0000 (18:33 +0000)]
Update README.NT with patch.
Bruce Momjian [Mon, 27 Sep 1999 16:54:01 +0000 (16:54 +0000)]
New Solaris FAQ.
Bruce Momjian [Mon, 27 Sep 1999 03:39:06 +0000 (03:39 +0000)]
new solaris faq.
Bruce Momjian [Mon, 27 Sep 1999 00:33:46 +0000 (00:33 +0000)]
Remove 'v' from #include line.
Thomas G. Lockhart [Fri, 24 Sep 1999 15:08:59 +0000 (15:08 +0000)]
Fix the omitted declarations to allow '^' and '|' as math operators.
Problem was introduced when precedence was added for these.
How did *those* changes get into the stable tree in the first place??
Bruce Momjian [Thu, 23 Sep 1999 19:13:55 +0000 (19:13 +0000)]
Backpatch into 6.5.*.
One last missing quoting bug in pg_dump:
now that sequence names are properly quoted for field defaults, mixed
case sequence names are generated. These are properly quoted in the
CREATE SEQUENCE lines, but not in the SELECT nextval lines, as per
below:
CREATE SEQUENCE "Teams_TeamID_seq" start 10 increment 1 maxvalue
2147483647 minvalue 1 cache 1 ;
SELECT nextval ('Teams_TeamID_seq');
This needs to be:
SELECT nextval ('"Teams_TeamID_seq"');
Patch included below.
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
Bruce Momjian [Mon, 20 Sep 1999 22:03:21 +0000 (22:03 +0000)]
Add new files.
Bruce Momjian [Mon, 20 Sep 1999 21:47:21 +0000 (21:47 +0000)]
Update pgaccess 0.98.
Tom Lane [Sat, 18 Sep 1999 23:30:05 +0000 (23:30 +0000)]
Back-patch fix for NULL condition in CASE.
Bruce Momjian [Fri, 17 Sep 1999 04:02:20 +0000 (04:02 +0000)]
re-add Makefile for pgaccess
Tom Lane [Tue, 14 Sep 1999 22:33:35 +0000 (22:33 +0000)]
Another little 'must fix' for 6.5.2: someone removed HAVE_KILL
from the configuration symbols, but neglected to remove #ifdef HAVE_KILL
from async.c in the REL6_5 branch. Result: cross-backend NOTIFY dead in
the water.
Tom Lane [Tue, 14 Sep 1999 20:26:02 +0000 (20:26 +0000)]
Last-minute fix for 6.5.2: repair optimizer coredump on
CASE clauses in WHERE. Surprised no one noticed this before.
Thomas G. Lockhart [Tue, 14 Sep 1999 15:33:50 +0000 (15:33 +0000)]
Update from Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
for v6.5.2 info.
Thomas G. Lockhart [Tue, 14 Sep 1999 06:07:35 +0000 (06:07 +0000)]
Allow ISOLATION and LEVEL as column names. These are SQL92 reserved words
which do not need to be so for our parser. Apparently omitted earlier.
Bruce Momjian [Mon, 13 Sep 1999 22:38:51 +0000 (22:38 +0000)]
Update for 6.5.2 history file.
Bruce Momjian [Mon, 13 Sep 1999 18:47:42 +0000 (18:47 +0000)]
Update pgaccess 0.98
Bruce Momjian [Mon, 13 Sep 1999 17:10:33 +0000 (17:10 +0000)]
Update vadim for index reuse.
Thomas G. Lockhart [Mon, 13 Sep 1999 04:35:14 +0000 (04:35 +0000)]
Merge in v6.5.2 notes taken from release.sgml.
Thomas G. Lockhart [Mon, 13 Sep 1999 04:21:21 +0000 (04:21 +0000)]
Allow CASE statement to contain *only* untyped result clauses or nulls.
Almost worked before, but forgot one place to check.
Reported by Tatsuo Ishii.
Still does not do the right thing if inserting into a non-string target
column. Should look for a type coersion later, but doesn't.
Bruce Momjian [Mon, 13 Sep 1999 02:47:25 +0000 (02:47 +0000)]
Update release notes for 6.5.2.
Bruce Momjian [Mon, 13 Sep 1999 00:20:48 +0000 (00:20 +0000)]
Update for 6.5.2.
Bruce Momjian [Mon, 13 Sep 1999 00:13:24 +0000 (00:13 +0000)]
Update to 6.5.2.
Marc G. Fournier [Sun, 12 Sep 1999 22:58:37 +0000 (22:58 +0000)]
Didn't commit right last time...SRCH_LIBS fix...
Marc G. Fournier [Sun, 12 Sep 1999 22:47:14 +0000 (22:47 +0000)]
when checking include directories, make sure you check for existence of
SRCH_INC also...makes template file kinda useless without :)
Marc G. Fournier [Sun, 12 Sep 1999 22:25:32 +0000 (22:25 +0000)]
cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ...
Tom Lane [Thu, 9 Sep 1999 16:29:22 +0000 (16:29 +0000)]
Repair incorrect cleanup of heap memory allocation during
transaction abort --- before it only worked if there was exactly one level
of allocation context stacked in the blank portal. Now it does the right
thing for any depth, including zero...
Tom Lane [Wed, 8 Sep 1999 23:00:51 +0000 (23:00 +0000)]
StreamConnection() mustn't call elog().
Tom Lane [Tue, 7 Sep 1999 19:12:16 +0000 (19:12 +0000)]
Repair logic error in LIKE: should not return LIKE_ABORT
when reach end of pattern before end of text. Improve code comments.
Tom Lane [Tue, 7 Sep 1999 18:11:35 +0000 (18:11 +0000)]
Irix linking fix from Yu Cao <yucao@falcon.kla-tencor.com>
Tom Lane [Mon, 6 Sep 1999 20:00:15 +0000 (20:00 +0000)]
Comment out FileUnlink of excess segments during mdtruncate().
This is unsafe in 6.5 because other backends may be able to access the file
before noticing the shared cache inval message that tells 'em to re-open
the file. We have fixed this for 6.6 but the changes seem too risky to
back-patch for 6.5.2.
Also, back-patch Tatsuo's change to prevent creation of files during
mdopen().
Tom Lane [Sun, 5 Sep 1999 22:55:28 +0000 (22:55 +0000)]
Backpatch fix for unary operators in rule deparser.
Tom Lane [Thu, 2 Sep 1999 04:07:18 +0000 (04:07 +0000)]
I'm gonna stick my neck out a little and back-patch these
changes into REL6_5 ... they could use some more testing before we release
6.5.2, though.
Bruce Momjian [Wed, 1 Sep 1999 23:06:26 +0000 (23:06 +0000)]
document -x for pg_dump
Marc G. Fournier [Wed, 1 Sep 1999 17:54:00 +0000 (17:54 +0000)]
This is to re-use space on index pages freed by vacuum.
Approved by: Vadim Mikheev <vadim@krs.ru>
Tom Lane [Sun, 29 Aug 1999 20:11:52 +0000 (20:11 +0000)]
Fix quoting problems in mkMakefile.tcldefs.sh.in and
mkMakefile.tkdefs.sh.in.
Tom Lane [Sun, 29 Aug 1999 19:22:28 +0000 (19:22 +0000)]
Backpatch rule deparsing bugfixes into 6.5.*.
I believe this is a pretty critical bugfix, since without it, stored rules
containing CASE expressions or array references cannot be dumped by pg_dump.
Worse, rules containing expressions like (a + b) * c will be dumped
incorrectly (minus the parentheses, silently yielding the wrong answer...).
Tom Lane [Sun, 29 Aug 1999 01:39:57 +0000 (01:39 +0000)]
Back-patch fix for timestamp(datetime) into 6.5.*.
I believe this is not a violation of our policy against requiring initdb
for minor-version bugfixes, since users don't *have* to initdb; they
just won't see any effect from the fix if they don't. But a user who
does do a clean install or initdb upgrade to 6.5.2 will get the fix,
and that seems worthwhile.
Tatsuo Ishii [Wed, 25 Aug 1999 12:01:45 +0000 (12:01 +0000)]
Sorry, I accidentaly reverted to 6.5.1 vacuum.c.
Now everything should be ok.
Tatsuo Ishii [Wed, 25 Aug 1999 11:32:52 +0000 (11:32 +0000)]
Add new vpl_num_allocated_pages member to VPageListData.
It will keep track the number of pages allocated so that
vacuum could allocate twice of the previous allocation.
This will greatly reduce the total memory consumption of
vacuum.
Tatsuo Ishii [Wed, 25 Aug 1999 11:27:06 +0000 (11:27 +0000)]
Fix vacuum's memory consumption
Tom Lane [Sat, 21 Aug 1999 03:09:18 +0000 (03:09 +0000)]
Back-patch int8 fixes into REL6_5.
Tatsuo Ishii [Wed, 18 Aug 1999 13:01:50 +0000 (13:01 +0000)]
Old multi-byte bug. Forgot to rename #ifdef MB to #ifdef MULTIBYTE
Now SET NAMES working again...
Bruce Momjian [Mon, 16 Aug 1999 20:32:56 +0000 (20:32 +0000)]
Typo fix.
Bruce Momjian [Mon, 16 Aug 1999 20:29:11 +0000 (20:29 +0000)]
I've sent 3 mails to pgsql-patches. There are two files, one for doc
and
for src/data directories, and one minor patch for doc/README.locale.
Please apply.
Oleg.
Bruce Momjian [Mon, 16 Aug 1999 20:10:25 +0000 (20:10 +0000)]
Fix for perl5 on BSD/OS.
Bruce Momjian [Mon, 16 Aug 1999 19:55:46 +0000 (19:55 +0000)]
Allow BSD yacc and bison to compile pl code.
Tatsuo Ishii [Mon, 16 Aug 1999 02:01:53 +0000 (02:01 +0000)]
Fix for Win32 making problem with MB enabled.
Patches created by Hiroki Kataoka.
Thomas G. Lockhart [Sun, 15 Aug 1999 06:50:22 +0000 (06:50 +0000)]
Repair the check for redundant UNIQUE and PRIMARY KEY indices.
Also, improve it so that it checks for multi-column constraints.
Thanks to Mark Dalphin <mdalphin@amgen.com> for reporting the problem.
Tom Lane [Sun, 8 Aug 1999 21:39:34 +0000 (21:39 +0000)]
Someone back-patched a regression test change without
back-patching the expected file (or running the test, evidently...)
Tom Lane [Sun, 8 Aug 1999 20:24:12 +0000 (20:24 +0000)]
Back-patch BTScan abort fix into REL6_5.
Tom Lane [Sun, 8 Aug 1999 17:55:19 +0000 (17:55 +0000)]
Back-patch fix for busted ELF test in configure.
Marc G. Fournier [Mon, 2 Aug 1999 06:27:09 +0000 (06:27 +0000)]
Final round before bed...more tomorrow...
Marc G. Fournier [Mon, 2 Aug 1999 05:57:07 +0000 (05:57 +0000)]
Another mass of them... just #include file changes and/or DOUBLEALIGN->MAXALIGN
Marc G. Fournier [Mon, 2 Aug 1999 05:25:27 +0000 (05:25 +0000)]
Another 'mega-commit' of back-patches ...
- integrating the #include file cleanup that Bruce recently did
- got the CPU change to adt/Makefile
- changing DOUBLEALIGN -> MAXALIGN
Marc G. Fournier [Mon, 2 Aug 1999 01:33:33 +0000 (01:33 +0000)]
Make sure D'Arcy's elf/configure changes get into -stable:
-------
From: "D'Arcy" "J.M." Cain <darcy@druid.net>
I didn't see any further discussion so here is, I hope, a clean fix to
configure.in to determine if a system is ELF or not. Note that some
of the tests earlier may be redundant but I took the safest route.
Marc G. Fournier [Fri, 30 Jul 1999 19:36:33 +0000 (19:36 +0000)]
final one before weekend starts...more at end of weekend
Marc G. Fournier [Fri, 30 Jul 1999 19:13:44 +0000 (19:13 +0000)]
config.h.in was so re-org'd, tested and committing seperately...
Marc G. Fournier [Fri, 30 Jul 1999 18:52:56 +0000 (18:52 +0000)]
Another batch ...
Marc G. Fournier [Fri, 30 Jul 1999 18:27:02 +0000 (18:27 +0000)]
More include merges from -current, following a clean compile...
Marc G. Fournier [Fri, 30 Jul 1999 17:07:23 +0000 (17:07 +0000)]
Carefully merge in Bruce's include file changes ... commit'd only after a
clean compile ...