Commit Graph

3849 Commits

Author SHA1 Message Date
Thomas G. Lockhart 52ca2ab268 Editing and markup cleanup. 1998-09-22 15:48:03 +00:00
Bruce Momjian 748e300317 Fix for AND/OR handling. 1998-09-21 15:41:28 +00:00
Marc G. Fournier 06b8c8a8b8 From: Michael Meskes <meskes@usa.net>
docs improvement for ecpg..
1998-09-21 05:55:23 +00:00
Marc G. Fournier 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
Bruce Momjian 25a64f7519 Fix for \z formatting from Tom Lane. 1998-09-21 02:25:29 +00:00
Bruce Momjian 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
Bruce Momjian b0297d806b autoconf 1998-09-20 05:01:04 +00:00
Bruce Momjian a186b57bff Fix for memory leak, configure path fix, from Tom Lane. 1998-09-20 04:57:40 +00:00
Bruce Momjian aa158a746c Fix memory leak from Tom Lane. 1998-09-20 04:51:12 +00:00
Bruce Momjian 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
Bruce Momjian 087eb4cd1a Regression test cleanup. 1998-09-18 21:47:27 +00:00
Bruce Momjian 4a9da7e5c4 NS32K lock patch reversed. 1998-09-18 17:18:41 +00:00
Bruce Momjian 1202ab259a Fixes for VC and libpq.
Magnus Hagander
1998-09-18 16:46:07 +00:00
Bruce Momjian 33554989c0 Fix for NS32K machine. 1998-09-18 05:36:24 +00:00
Bruce Momjian 0498b6a487 fix for aix snprintf 1998-09-18 05:20:22 +00:00
Bruce Momjian 62bc4de45b Remove /usr/local/* from templates. 1998-09-18 05:00:52 +00:00
Bruce Momjian 0fc8bce760 Fix for \df. 1998-09-18 04:43:20 +00:00
Bruce Momjian b68d690dd3 New gram.c 1998-09-18 03:02:47 +00:00
Thomas G. Lockhart 2f0bf627e2 Update entries for MkLinux and Linux/ix86 for Postgres v6.4. 1998-09-16 14:48:41 +00:00
Thomas G. Lockhart 29c3c3a291 Add Unix-specific installation and configuration info for psqlodbc. 1998-09-16 14:44:00 +00:00
Thomas G. Lockhart d2a907c6ad Markup and editing adjustments... 1998-09-16 14:43:12 +00:00
Thomas G. Lockhart 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
Thomas G. Lockhart 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
Thomas G. Lockhart 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
Thomas G. Lockhart 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
Marc G. Fournier 672bc164ce Forgot to remove README-1ST from the repository ... 1998-09-15 02:25:09 +00:00
Marc G. Fournier e70798db01 tabularized a little bit... 1998-09-14 04:45:27 +00:00
Marc G. Fournier 66dd84089e A sort of 'log' of what operating systems are supported, and the date
last tested...
1998-09-14 04:38:41 +00:00
Marc G. Fournier 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
Bruce Momjian 3700981108 Add new make_oidjoin_check utility and template1_check.sql. Fix some
pg_operator problems.
1998-09-14 01:14:49 +00:00
Thomas G. Lockhart f1bcb171e8 Remove remnant from obsolete char16 data type. 1998-09-13 14:29:06 +00:00
Thomas G. Lockhart 8ee1c1936c Update to new DECLARE and FETCH features in gram.y. 1998-09-13 04:20:16 +00:00
Thomas G. Lockhart 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
Bruce Momjian 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
Bruce Momjian bcb51fc916 rename java file for Peter. 1998-09-12 17:26:04 +00:00
Bruce Momjian 6ee06b0fd3 Irix lock fix from Robert Bruccoleri 1998-09-12 16:07:53 +00:00
Bruce Momjian 786b1802c8 The pg_atoi() function uses strtol() to convert the string to numbers. Some
implementations of strtol() treat empty strings ("") as invalid arguments
while others convert this (erroneously, IHMO) to zero (0).  Assuming that the
expected behaviour of pg_atoi() is to return 0 if it is passed an empty
string, I am supplying the following patch to explictly check for an empty
string in pg_atoi() and return 0 if the string is empty.  The patch will also
trap a NULL character pointer being passed to pg_atoi() and will use elog() to
print out an error message if the input char pointer is NULL.


Billy G. Allie
1998-09-12 16:04:35 +00:00
Bruce Momjian 5f7fb67789 autoconf 1998-09-11 17:21:20 +00:00
Bruce Momjian 4fc3b068ab Remove lld from LONG LONG name 1998-09-11 17:16:11 +00:00
Bruce Momjian b3e72e518e autoconf 1998-09-11 17:08:22 +00:00
Bruce Momjian f1ab71ec5f The attached patches fix the following problems:
1.  The UnixWare tas macro was reformatted (by indent or it like?) which caused
    it to break.  The asm macro construct is very particular about the %mem
    construct -- it has to start in column 1.

2.  When compiling libpq++, g++ was used even if configure found the C++ com-
    piler to be CC.

3.  When compiling libpq++, '-Wno-error' was added to CXXFLAGS, even if the
    compiler wasn't g++.

Billy G. Allie
1998-09-11 16:56:24 +00:00
Bruce Momjian 339d2769a1 autoconf 1998-09-11 16:50:20 +00:00
Bruce Momjian 28834b7226 Remove %qd. 1998-09-11 16:43:26 +00:00
Bruce Momjian 13b6f724c1 Tatsuo Ishii fix for pg_user crash, with slight modification. 1998-09-11 16:39:59 +00:00
Bruce Momjian a752e322a3 %lld fix. 1998-09-11 14:10:53 +00:00
Bruce Momjian 8133867f51 update pginterface 1998-09-11 05:18:12 +00:00
Bruce Momjian a5d4642578 Update pginterface for 6.4. add manual page. 1998-09-11 05:14:08 +00:00
Bruce Momjian 4da5714ced long long cleanup 1998-09-10 21:10:51 +00:00
Vadim B. Mikheev 36ef34d73c Added attributes for primary/unique/foreign keys... 1998-09-10 15:32:32 +00:00
Bruce Momjian d9d8169858 Fix for length in libpq from Tom Lane. 1998-09-10 15:18:06 +00:00