Commit graph

4797 commits

Author SHA1 Message Date
Bruce Momjian
ffed5788dd update jdbc version #. 1999-10-13 11:11:41 +00:00
Bruce Momjian
10c2a58b61 Update for 6.5.3, including new INSTALL file and updated HISTORY. 1999-10-12 15:35:08 +00:00
Bruce Momjian
5d76ea6dc5 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
1999-10-12 14:55:01 +00:00
Bruce Momjian
987b1b9e55 Move __alpha to port/alpha.h. 1999-10-09 01:30:46 +00:00
Bruce Momjian
df26ad5acc Define __alpha__ for __alpha. 1999-10-08 17:15:07 +00:00
Bruce Momjian
393ccc3993 Remove 'v' from #include line. 1999-09-27 00:33:46 +00:00
Thomas G. Lockhart
4efb2ff001 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??
1999-09-24 15:08:59 +00:00
Bruce Momjian
b8e2e3fb18 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>
1999-09-23 19:13:55 +00:00
Bruce Momjian
471881788f Add new files. 1999-09-20 22:03:21 +00:00
Bruce Momjian
20a97d8079 Update pgaccess 0.98. 1999-09-20 21:47:21 +00:00
Tom Lane
7fe22f5c8b Back-patch fix for NULL condition in CASE. 1999-09-18 23:30:05 +00:00
Bruce Momjian
bed8cf4d83 re-add Makefile for pgaccess 1999-09-17 04:02:20 +00:00
Tom Lane
d5d33e2ee4 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.
1999-09-14 22:33:35 +00:00
Tom Lane
05a275926b Last-minute fix for 6.5.2: repair optimizer coredump on
CASE clauses in WHERE.  Surprised no one noticed this before.
1999-09-14 20:26:02 +00:00
Thomas G. Lockhart
4edb7770f6 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.
1999-09-14 06:07:35 +00:00
Bruce Momjian
e8a71f0dd3 Update pgaccess 0.98 1999-09-13 18:47:42 +00:00
Thomas G. Lockhart
400676afc9 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.
1999-09-13 04:21:21 +00:00
Bruce Momjian
8401a89868 Update to 6.5.2. 1999-09-13 00:13:24 +00:00
Marc G. Fournier
2bb6c94fd9 Didn't commit right last time...SRCH_LIBS fix... 1999-09-12 22:58:37 +00:00
Marc G. Fournier
d87a36a5b5 when checking include directories, make sure you check for existence of
SRCH_INC also...makes template file kinda useless without :)
1999-09-12 22:47:14 +00:00
Marc G. Fournier
6592a8aaa4 cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ... 1999-09-12 22:25:32 +00:00
Tom Lane
805ee87b7d 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...
1999-09-09 16:29:22 +00:00
Tom Lane
3279f0d546 StreamConnection() mustn't call elog(). 1999-09-08 23:00:51 +00:00
Tom Lane
c7e3adf703 Repair logic error in LIKE: should not return LIKE_ABORT
when reach end of pattern before end of text.  Improve code comments.
1999-09-07 19:12:16 +00:00
Tom Lane
63858aaf26 Irix linking fix from Yu Cao <yucao@falcon.kla-tencor.com> 1999-09-07 18:11:35 +00:00
Tom Lane
60c3ccffbe 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().
1999-09-06 20:00:15 +00:00
Tom Lane
958e45a84b Backpatch fix for unary operators in rule deparser. 1999-09-05 22:55:28 +00:00
Tom Lane
aa291955a8 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.
1999-09-02 04:07:18 +00:00
Bruce Momjian
632b56946b document -x for pg_dump 1999-09-01 23:06:26 +00:00
Marc G. Fournier
4477e0d363 This is to re-use space on index pages freed by vacuum.
Approved by: Vadim Mikheev <vadim@krs.ru>
1999-09-01 17:54:00 +00:00
Tom Lane
dad54bf386 Fix quoting problems in mkMakefile.tcldefs.sh.in and
mkMakefile.tkdefs.sh.in.
1999-08-29 20:11:52 +00:00
Tom Lane
4c93b04f48 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...).
1999-08-29 19:22:28 +00:00
Tom Lane
04ffd2bc0a 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.
1999-08-29 01:39:57 +00:00
Tatsuo Ishii
b9d202fb0e Sorry, I accidentaly reverted to 6.5.1 vacuum.c.
Now everything should be ok.
1999-08-25 12:01:45 +00:00
Tatsuo Ishii
366f6ce255 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.
1999-08-25 11:32:52 +00:00
Tatsuo Ishii
f134d1fb2c Fix vacuum's memory consumption 1999-08-25 11:27:06 +00:00
Tom Lane
0818dfa4f0 Back-patch int8 fixes into REL6_5. 1999-08-21 03:09:18 +00:00
Tatsuo Ishii
b4c911f508 Old multi-byte bug. Forgot to rename #ifdef MB to #ifdef MULTIBYTE
Now SET NAMES working again...
1999-08-18 13:01:50 +00:00
Bruce Momjian
4978853b55 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.
1999-08-16 20:29:11 +00:00
Bruce Momjian
49df345016 Fix for perl5 on BSD/OS. 1999-08-16 20:10:25 +00:00
Bruce Momjian
bad0422cbc Allow BSD yacc and bison to compile pl code. 1999-08-16 19:55:46 +00:00
Tatsuo Ishii
d95acd0668 Fix for Win32 making problem with MB enabled.
Patches created by Hiroki Kataoka.
1999-08-16 02:01:53 +00:00
Thomas G. Lockhart
8a98690066 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.
1999-08-15 06:50:22 +00:00
Tom Lane
70c5c63d56 Someone back-patched a regression test change without
back-patching the expected file (or running the test, evidently...)
1999-08-08 21:39:34 +00:00
Tom Lane
c6100c9e95 Back-patch BTScan abort fix into REL6_5. 1999-08-08 20:24:12 +00:00
Tom Lane
e947d39eea Back-patch fix for busted ELF test in configure. 1999-08-08 17:55:19 +00:00
Marc G. Fournier
2dca8973fe Final round before bed...more tomorrow... 1999-08-02 06:27:09 +00:00
Marc G. Fournier
10ace1fac8 Another mass of them... just #include file changes and/or DOUBLEALIGN->MAXALIGN 1999-08-02 05:57:07 +00:00
Marc G. Fournier
9a8aeb23a1 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
1999-08-02 05:25:27 +00:00
Marc G. Fournier
62d146bdcd 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.
1999-08-02 01:33:33 +00:00