1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00
Commit Graph

31631 Commits

Author SHA1 Message Date
502769d0de Change HPUX loader flags to trap null pointer derefs 1998-10-01 01:26:45 +00:00
9bb7096bcd Update to track newest gram.y. 1998-09-30 05:48:28 +00:00
c683abb1f0 Add as many keywords as possible to column identifier or label lists.
Add "timestamp" to list of tokens in keywords.c.
 Before, TIMESTAMP WITH TIME ZONE did not actually parser.
Reorder token lists to be more alphabetical.
Remove ARCHIVE keyword which was deprecated in v6.3.
1998-09-30 05:47:57 +00:00
96273049e9 Message changed slightly since "rename" is now allowed as a column name. 1998-09-30 05:43:23 +00:00
44e01bf992 From: Jan Wieck <jwieck@debis.com>
here  is  the  patch  that  includes  PL/pgSQL into the build
    (currently with make errors ignored) and  adds  a  regression
    test for it. A clean build and regression ran fine here.

    Can you please apply it?

    The  tar  should  be  extracted  in  /usr/local/src/pgsql and
    creates the following files:

    src/pl/Makefile
            called by toplevel GNUmakefile and for now only calls
            src/pl/plpgsql/Makefile

    src/pl/plpgsql/Makefile
            calls  src/pl/plpgsql/src/Makefile  (here the call to
            make ignores build errors  -  this  must  be  changed
            later for the final release).

    src/test/regress/input/install_plpgsql.source
            SQL script installing PL/pgSQL language in regression
            database. Will be modified by  .../input/Makefile  to
            point  to  correct  PGLIB  directory where plpgsql.so
            gets installed.

    src/test/regress/output/install_plpgsql.source
            expected output for installation script.

    src/test/regress/sql/plpgsql.sql
            the main regression  test.  It  tests  functions  and
            triggers written in PL/pgSQL including views that use
            supportfunctions in this language.

    src/test/regress/expected/plpgsql.out
            the expected output for the above regression test.

    make_plpgsql.diff
            patch that adds some lines to

            src/GNUmakefile.in
            src/test/regress/expected/Makefile
            src/test/regress/input/Makefile
            src/test/regress/output/Makefile
            src/test/regress/sql/Makefile
            src/test/regress/sql/tests
1998-09-29 12:43:05 +00:00
376fbadbd2 pgsql_perl5-1.8.0 1998-09-27 19:12:35 +00:00
bd041d82bf multi-byte fix from Tatsuo Ishii 1998-09-25 15:51:02 +00:00
d73f73af6e Add new Makefile from Jan. 1998-09-25 15:50:02 +00:00
734d44988a Bracket filename in LOAD error message with single quotes
to clarify actual path used.
1998-09-25 13:47:27 +00:00
d76b4069ad Update to track gram.y.
Had removed PARSEDEBUG statements...
1998-09-25 13:45:12 +00:00
4327a3675f Clean up existing debugging print statements.
Modify comment blocks to insulate from pgindent.
1998-09-25 13:38:32 +00:00
ee88006cf2 Clean up code in analyze.c for SERIAL data type.
Remove _all_ PARSEDEBUG print statements.
1998-09-25 13:36:08 +00:00
2df1465757 Fix comment for regproc. 1998-09-25 03:36:33 +00:00
f52e7346ea MB patches from Tatsuo Ishii 1998-09-25 01:46:25 +00:00
31fea9777f Fix for datetime from Tatsuo Ishii 1998-09-23 17:51:46 +00:00
b9f16535a4 Fix for oidArray from Christopher Oliver. 1998-09-23 17:50:12 +00:00
b932b1b1c4 Allow 8-key indexes. 1998-09-23 04:22:14 +00:00
747e19aa6c Add in, I think, support for %lld in snprintf(), specifically with
Irix in mind...
1998-09-23 03:11:24 +00:00
3ce8a1b4ba Fix for SELECT NOT boolfield FROM table 1998-09-22 21:48:27 +00:00
a3c5a3cb2f Cleanup for oid8[] from Tatsuo Ishii. 1998-09-22 20:28:15 +00:00
738dc876ed Here are some patches to fix up the regression tests so that the union
test passes.  Interestingly, the fix involves no changes or special
cases in the union test and actually removes a special case for the
numerology test.  Thus, following the strategy outlined below is a
definite improvement over the previous situation.

Cheers,
Brook
1998-09-22 16:52:59 +00:00
ba0abfdecc Add .h to string include. 1998-09-22 16:41:19 +00:00
748e300317 Fix for AND/OR handling. 1998-09-21 15:41:28 +00:00
bf395e895b From: Michael Meskes <meskes@usa.net>
+ Mon Aug 31 09:40:04 CEST 1998
+
+       - Minor patch to Makefile
+       - Put pgc.l in sync with scan.l
+
+ Tue Sep  1 11:31:05 CEST 1998
+
+       - Fixed another bug in preproc.y
+
+ Thu Sep  3 12:21:16 CEST 1998
+
+       - Sync preproc.y with gram.y
+
+ Mon Sep 14 09:21:02 CEST 1998
+
+       - Sync preproc.y with gram.y yet again
+
+ Thu Sep 17 08:55:33 CEST 1998
+
+       - Synced preproc.y and gram.y one more time
+
+ Thu Sep 17 19:23:24 CEST 1998
+
+       - Added missing ´;´ in preproc.y
+       - Set version to 2.4.2
1998-09-21 05:52:55 +00:00
25a64f7519 Fix for \z formatting from Tom Lane. 1998-09-21 02:25:29 +00:00
4b048fbfaa This patch covers several to-do items that I had for libpgtcl:
* It works under both Tcl 7.6 and Tcl 8.0 now.  (The code claims to
  work under Tcl 7.5 as well, but I have no way to test that ---
  if anyone still cares, please check it with 7.5.)

* pg_listen suppresses extra LISTEN commands and correctly sends an
  UNLISTEN when the last listen request for a relation is cancelled.
  (Note this means it will not work with pre-6.4 backends, but that
  was true already because it depends on the current libpq, which
  only speaks protocol 2.0.)

* Added -error option to pg_result so that there's some way to find
  out what you did wrong ;-)

* Miscellaneous cleanups of code comments and overenthusiastic #includes.

BTW, I bumped the package version number from 1.2 to 1.3.  Is this
premature?  Does someone run around and do that routinely before
each pgsql release?

			regards, tom lane
1998-09-21 01:02:04 +00:00
b0297d806b autoconf 1998-09-20 05:01:04 +00:00
a186b57bff Fix for memory leak, configure path fix, from Tom Lane. 1998-09-20 04:57:40 +00:00
aa158a746c Fix memory leak from Tom Lane. 1998-09-20 04:51:12 +00:00
3ac9688ae8 I also noticed that pg_dump contains a copy of the same
prompt_for_password code that psql does.  We fixed psql a month or
two back to permit usernames and passwords longer than 8 characters.
I propagated the same fix into pg_dump.

Tom Lane
1998-09-20 03:18:43 +00:00
087eb4cd1a Regression test cleanup. 1998-09-18 21:47:27 +00:00
4a9da7e5c4 NS32K lock patch reversed. 1998-09-18 17:18:41 +00:00
1202ab259a Fixes for VC and libpq.
Magnus Hagander
1998-09-18 16:46:07 +00:00
33554989c0 Fix for NS32K machine. 1998-09-18 05:36:24 +00:00
0498b6a487 fix for aix snprintf 1998-09-18 05:20:22 +00:00
62bc4de45b Remove /usr/local/* from templates. 1998-09-18 05:00:52 +00:00
0fc8bce760 Fix for \df. 1998-09-18 04:43:20 +00:00
b68d690dd3 New gram.c 1998-09-18 03:02:47 +00:00
5a68fd56cd Consolidate Jan's rules test into one file.
Remove dependency on a specific Postgres user name in the results
 (Check result against CURRENT_USER with a boolean instead).
1998-09-16 14:35:37 +00:00
20693de474 Support specifying PRIMARY KEY for the SERIAL type.
Change DEFAULT NULL to send back a NULL pointer
 rather than a string "NULL". This seems to work, where sending
 the string led to type conversion problems (and probably the wrong
 thing anyway).
1998-09-16 14:29:35 +00:00
7c30ac961f Support specifying PRIMARY KEY for the SERIAL type.
Check for a constraint if is_sequence is set and omit making
 a UNIQUE index if so, since the primary key will cover that for us.
1998-09-16 14:25:37 +00:00
198bcef025 Use oper_select_candidate() for unary operators
rather than func_select_candidate().
Fix oper_select_candidate() to work with a single operator argument.
Repair left operator checking for null return from candidate list.
1998-09-16 14:22:22 +00:00
672bc164ce Forgot to remove README-1ST from the repository ... 1998-09-15 02:25:09 +00:00
b97a227777 Change order of install...installing interfaces is the last to be done,
as, if not installing as root (which nobody *should* be doing, of course),
the perl install fails, which means that both bin and man directories
are not installed :(

This way, only thing that doesn't get installed is perl interface...
1998-09-14 04:17:40 +00:00
3700981108 Add new make_oidjoin_check utility and template1_check.sql. Fix some
pg_operator problems.
1998-09-14 01:14:49 +00:00
f1bcb171e8 Remove remnant from obsolete char16 data type. 1998-09-13 14:29:06 +00:00
8ee1c1936c Update to new DECLARE and FETCH features in gram.y. 1998-09-13 04:20:16 +00:00
f16f35a0f8 Support SQL92-ish DECLARE and FETCH commands.
Adds a few new keywords, but all are allowed as column names etc.
1998-09-13 04:19:33 +00:00
af8e2760ba Here are some additional patches needed to get the UnixWare 7 C++
compiler to
attempt to compile libpq++.  The patches address the following problems:

1.  In my first pass at changing the libpq++ makefile, I forgot to
include the
    PORTNAME in the Makefile.in file.

2.  The UnixWare 7 C++ compiler did not like the '-K alloca' option in
CXXFLAGS.

Billy G. Allie
1998-09-13 04:00:44 +00:00
bcb51fc916 rename java file for Peter. 1998-09-12 17:26:04 +00:00