Commit Graph

3915 Commits

Author SHA1 Message Date
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
Bruce Momjian 3a9c626a86 autoconf 1998-09-10 05:40:16 +00:00
Bruce Momjian a7b5abcbc7 %lld not %Ld 1998-09-10 05:36:00 +00:00
Bruce Momjian e1f21884c6 More bsdi 4.0 additions. 1998-09-10 04:59:01 +00:00
Bruce Momjian 56a2d8042b bsdi 4.0. 1998-09-10 04:46:45 +00:00
Bruce Momjian 42cc8c019e Add some support for BSDI 4.0. 1998-09-10 04:39:47 +00:00
Vadim B. Mikheev 098c63c0ff Porting efforts... :) 1998-09-10 04:11:52 +00:00
Vadim B. Mikheev ee00b75441 flock --> fcntl 1998-09-10 04:07:59 +00:00
Bruce Momjian f4c222f986 cleanup 1998-09-10 03:54:07 +00:00
Bruce Momjian a19b1dc705 Cleanup of configure.in 1998-09-10 03:42:19 +00:00
Bruce Momjian 01b16f88e6 autoconf 1998-09-10 03:33:32 +00:00
Bruce Momjian c34ed86ea8 Allow long long on BSDI. 1998-09-10 03:27:09 +00:00
Bruce Momjian 6d3a5482aa Aix4 fixes from Andreas Zeugswetter 1998-09-09 18:39:33 +00:00
Bruce Momjian 6921f364db >
> Open portability issues:
>
> /usr/local should be searched for lib and include for all ports if
present
> (currently not working, I have libreadline there)
>
> the stream functions on AIX need a size_t for addrlen's in
fe-connect.c and pqcomm.c.
>
> lock.c still has an incompatible TPRINTF(flags, args...) definition

Massimo
1998-09-09 18:32:05 +00:00
Bruce Momjian a29ae2264a Hi patchers/hackers.
Here's a patch for initdb that does two things.

1) Encloses the created rulenames in quotes to preserve case
   in the creation step. (stores _RETpg... instead of _retpg...)
   I believe _RET is standard for views.

2) Renames pg_view to pg_views and pg_rule to pg_rules.
   I believe Jan and myself agreed this would be a "good idea"

Keith Parks
1998-09-09 18:16:36 +00:00
Vadim B. Mikheev 9a2949e5dd Fix using GroupBy/non-GroupBy expressions in HAVING. 1998-09-09 03:48:17 +00:00
Vadim B. Mikheev 04abb54197 Fix for indexing problem (?): heap tuple was pfree-d before CatalogIndexInsert()... 1998-09-09 03:42:52 +00:00
Bruce Momjian b5ed4be218 AIX align fix. 1998-09-08 22:15:42 +00:00
Bruce Momjian 6f84e86d69 Fix for macro for AIX. 1998-09-08 15:24:11 +00:00
Vadim B. Mikheev 994cfba1e5 Fix GroupBY func broken by HAVING. 1998-09-08 02:50:20 +00:00
Thomas G. Lockhart 6866cbc7c7 Very minor formatting fixup in the refentry id field to remove
the trailing "-1". This makes a cleaner html output file name.
Clean up a few refpurpose fields.
1998-09-07 15:58:31 +00:00
Thomas G. Lockhart 95af0cb9bb Fix Postgres to support SQL92 syntax. Old syntax still works too. 1998-09-07 15:56:20 +00:00
Thomas G. Lockhart 4dce924b62 Minor wording and formatting cleanups. 1998-09-07 15:54:08 +00:00
Thomas G. Lockhart b6bdc43522 Add new reference pages. This completes the first cut at a full set
for SQL commands.
1998-09-07 15:53:12 +00:00
Bruce Momjian 202751921d Alignment cleanup so no more massive switch statements for alignment,
just two macros.
1998-09-07 05:35:48 +00:00
Bruce Momjian e15807f410 BTW, in catalog/pg_type.h:
#define Anum_pg_index_indisunique               8

I think this should be 9.

Tatsuo Ishii
1998-09-06 04:49:51 +00:00
Thomas G. Lockhart 7d1e32b51c Add new reference pages adapted from Jose'. 1998-09-05 06:02:57 +00:00
Thomas G. Lockhart 3a29400141 Minor fix to add paragraph break. 1998-09-05 06:01:56 +00:00
Thomas G. Lockhart 6d62e1da9d Use alternate form for long-long-int to be compatible with AIX.
%Ld worked with gcc, but %lld works with both gcc and AIX.
1998-09-05 01:19:38 +00:00
Bruce Momjian 4b814b1886 offsetof cleanup. 1998-09-04 18:21:11 +00:00
Bruce Momjian f93281a1a1 t_bits alignment fix from Tatsuo Ishii 1998-09-04 18:05:39 +00:00
Marc G. Fournier edd626cb3e Try this snprintf() implementation, used in sendmail... 1998-09-04 14:34:23 +00:00
Marc G. Fournier 370d6cdb64 From: David Hartwig <daybee@bellatlantic.net>
I put some extra checks to make sure a query was a good candidate for
rewrite into a UNION.    Besides the existing checks:

1.  Make sure the AND/OR tree was rectangular.  ( i.e.    3 X 4  or 10 X
3)
2.  Only one table.
3.  Must have an AND dimension.
4.  At least 9 OP expressions total

Also  cleaned up and commented.
1998-09-04 12:52:23 +00:00
Bruce Momjian e9d0fa3762 libpgtcl cleanups for Tom Lane. 1998-09-04 05:03:05 +00:00
Thomas G. Lockhart b806b3d3f8 Allow insert statements to have every column
supplied by a DEFAULT clause.  Enables INSERT INTO TABLE DEFAULT VALUES...
1998-09-03 14:21:06 +00:00