1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00
Commit Graph

4241 Commits

Author SHA1 Message Date
db9b12bf1b Included are patches for doc/README.mb and README.mb.jp.
Please apply to both trees.
--
Tatsuo Ishii
1998-12-18 18:01:36 +00:00
47af45c631 Here are descriptions:
- the first patch is just to preven listing the perl warning in the
  make output unless it is actually emitted by the make.  this may
  prevent new users from being confused by the warning in their output

- the second patch (to 2 files) just enables building/installing
  pgaccess if TCL and TK are available.  a Makefile is created to do
  this, but you may wish to change the heading information in it since
  I just copied another Makefile to use as a template.

I hope these make it into 6.4.1.

Cheers,
Brook
1998-12-18 17:53:46 +00:00
6c20009449 Upgrade for 6.4.1. 1998-12-18 16:51:39 +00:00
59b25228d4 Update for 6.4.1 1998-12-18 07:33:26 +00:00
9ea4191076 Fix for HAVE_LONG bug in snprintf.c. 1998-12-18 07:03:29 +00:00
a4c8fa7632 Upgrade for 6.4.1. 1998-12-18 05:38:29 +00:00
66807b8cc5 Prepare for 6.4.1. 1998-12-18 05:25:58 +00:00
673d7f6b4a Remove need for doc 'install man' in INSTALL file. install does both
html and man.
1998-12-17 16:37:35 +00:00
38f255dc22 Upgrade to Pygress 2.2. 1998-12-17 01:43:39 +00:00
363edf0282 Compilation of libpq for Win32 breaks on 6.4, because of a change that I
missed before the release. It's simply a symbol that is undefined. This
patch defines this symbol in "win32.h", so it should have no effect on any
other platforms. It should go into 6.4.1 if possible, since compilation is
completely broken without it.

I am also attaching a patch for the "win32.mak" file - it leaves a file
behind when doing "make clean" after the library is built on Visual C++ 6.0.
This is not at all as urgent, but I don't see it breaking here, so I think
it might as well go in there too?

//Magnus
1998-12-14 15:05:45 +00:00
96ac4e6be4 OK, here is a diff for the README file in /usr/src/pgsql/contrib/spi/.
For the 6.5 tree.

Have a great night.
Terry
1998-12-14 05:14:09 +00:00
be471a96b7 Current multi-byte related codes have a bug with SQL_ASCII
support. Included patches will solve it and should be applied to
both trees.  Also, it fix the problem with \c command of psql when
switching different encoding databases.

Regression tests passed.
--
Tatsuo Ishii
t-ishii@sra.co.jp
1998-12-14 04:51:34 +00:00
4d7ffd460a Add routines to help with single-byte char type handling. 1998-12-14 00:15:18 +00:00
4a7fb261db Add routines and synonyms to help with single-byte char type handling.
Fix one usage of substr() which mapped to the "Oracle compatibility" funcs
 rather than the more recent (and closer to SQL92) function in varlena.c.
Add more DESC() entries for conversion functions.
1998-12-14 00:14:53 +00:00
f43e75a7c6 Adjust handling of data type names to suppress double quotes
unless necessary.
Label internal bpchar types as "character" and varchar types as
 "character varying" to be less Postgres-specific. These types map to
 the SQL92 definitions anyway.
Redefine g_force_quotes to be the local variable force_quotes.
Pass this as an argument to fmtId().
These should help with handling the single-byte internal "char" type.
1998-12-14 00:14:24 +00:00
afa71c7661 Add routines to help with single-byte (internal) character type support. 1998-12-14 00:13:56 +00:00
b5b5f0ddc9 Use the new implicit type coersion techniques for matching up types
between columns and DEFAULT clauses.
1998-12-14 00:13:26 +00:00
3f1c32e2f1 Switch around conditional code so that HAVE_TM_ZONE takes precedence
over HAVE_INT_TIMEZONE. This may help out linux/glibc2 and Dec Alpha.
Included #error precompiler macros to catch cases where neither is defined
 but USE_POSIX_TIME is (shouldn't happen). Hopefully this isn't just
 a gcc-ism.
1998-12-14 00:11:46 +00:00
4f8458cd6b Build pltcl.so correctly on platforms that want dependent
shared libraries to be listed in the link command.
1998-12-13 23:47:17 +00:00
91fc67dbef Partial fix for vendor-cc-versus-gcc incompatibility on HPUX:
prefer aCC as c++ compiler if hpux_cc is selected as template.
Doesn't solve the problem if you have g++ and not aCC, however...
1998-12-13 20:08:59 +00:00
baaf65983a Use standard AC_PROG_INSTALL macro to search for install program,
instead of our own halfway-there code.  Add AC_STRUCT_TIMEZONE call
to check whether tm_zone exists in struct tm.  Revise reading of template
file so that templates can define any variables they feel like (and,
indeed, can execute arbitrary shell code) rather than being constrained
to a fixed set of variable names.
1998-12-13 20:08:24 +00:00
c47e831366 Add enable_plpgsql from Oliver. 1998-12-13 05:23:14 +00:00
47f11d41b2 Cleanup patch from Oleg. 1998-12-13 05:15:10 +00:00
94c5120849 Fix for lo_import crash. 1998-12-13 05:08:19 +00:00
47cae78f7e While investigating a user's complaint, I have found some memory
destructions in 6.4 source using purify.

(1) parser/gram.y:fmtId()

It writes n+3 bytes into n+1 byte-long memory area if mixed case or
non-ascii identifiers given.

(2) catalog/index.c:

ATTRIBUTE_TUPLE_SIZE bytes are allocated but
sizeof(FormData_pg_attribute) bytes are written. Note that
ATTRIBUTE_TUPLE_SIZE is smaller than
sizeof(FormData_pg_attribute). (for example, on solaris 2.6,

Tatsuo Ishii
1998-12-13 04:39:00 +00:00
bc27c2e4ce New ecpg man page. 1998-12-13 03:54:13 +00:00
4c71609c1c This patch fixes the undefined (according to C) and erroneous (under
Digital Uni x with both DEC cc and gcc) behaviour of modifying an
lvalue on the left side an d then using it on the right side of an
assignment. Since this code modifies the
 dbname parameter, it was changing, for example, "dbname=template1"
 into "dbname =emplate1".

David Smith Programmer P
1998-12-13 02:50:39 +00:00
f1a24505bb Included patches should fix following problems in the muti-byte
enabled PostgreSQL 6.4.

o binary cursor does not work
o pg_dumpall produces incorrect create database statemnt

Tatsuo Ishii
t-ishii@sra.co.jp
1998-12-12 22:04:33 +00:00
fb6f7dc88d Fix prototype for 64-bit platforms. 1998-12-12 21:31:20 +00:00
489572f288 update pgaccess to 0.93. 1998-12-12 21:23:21 +00:00
b827d786aa Add stdio for NULL define. 1998-12-12 19:58:13 +00:00
a6aeaaba92 No complaints heard about the main branch, so I'm committing this
to REL6_4 as well...
Use autoconf to determine whether system has POSIX signals,
instead of relying on port's os.h to tell us.  (Needed for HPUX
where system major version is not enough info.)
configure unsets USE_TK if X libraries not found.
doc/Makefile uses gzcat or zcat as found by autoconf.
1998-12-05 23:09:06 +00:00
48130c76e3 Fix coredumping bug in pg_dump -z; also eliminate memory leaks
in the ACL code, and spell "GRANT RULE" correctly.
Apply patch from Oliver Elphick to not dump inherited constraints.
Apply patch from Constantin Teodorescu to dump table definitions with a
more readable layout.
1998-12-05 22:11:08 +00:00
64cb864cb1 Portability fixes found needed for SunOS 4.1.x:
SunOS has tas(), but not memmove or strerror, and its sprintf() doesn't
return int.  Also, older versions of GNU Make don't like rules with
empty left-hand sides...
1998-11-30 00:31:20 +00:00
3be772cadc Change exp() behavior to generate error on underflow rather
than silently returning zero on some machines.  Correct float8 regress test
to agree.  Also fix pow() overflow/underflow check to work correctly on
HPUX.
1998-11-29 01:59:00 +00:00
594bee4844 Portability fix for old SunOS releases: realloc(NULL, ...)
doesn't work there.
1998-11-29 01:54:34 +00:00
9fc69f5a67 Portability fix for old SunOS releases: fflush(NULL)
doesn't work there.  Fortunately the postmaster only has stdout and
stderr to flush.
1998-11-29 01:52:32 +00:00
932dbd1c30 pq_getstr didn't handle buffer overrun correctly; it would
fail to consume the rest of the input string, and worse it would write
one more byte than it should into the buffer, probably resulting in coredump.
Fortunately there's a correct implementation next door in pqcomprim.c.
1998-11-29 01:48:42 +00:00
f2b8bfb408 csh and sh examples were reversed.
Update the csh example with new comments and fixes from Thomas' linux box.
1998-11-25 02:56:54 +00:00
65a898b520 Additional fixes for mixed-case table names from Billy Allie.
Same changes I tried to commit last time.
 Hope the new version of cvs keeps it down...
1998-11-24 05:50:42 +00:00
43ea370fcf Update platform FAQ's. 1998-11-24 03:48:55 +00:00
461c0ffc8f Vadim's OR fix. 1998-11-24 02:05:14 +00:00
0db829c494 Fixed bug in unknown module. Changed builtin function names
from SPI_* to spi_*.

Jan 11/23/1998
1998-11-23 17:44:21 +00:00
b51ea828af modify configure so that template/.similar entries can be
selected when they match a prefix of the  value.  The previous method,
which stripped all version data from  and then tried to match that
against .similar entries, was entirely useless when .similar contained
several entries for different version numbers of a single OS name.
1998-11-23 04:44:22 +00:00
f30d64d1b8 Need to touch parse.h so it is not out of date with
respect to gram.y.
1998-11-22 22:05:20 +00:00
714f2c83c6 Additional fix for creating tables with constraints
when table name is mixed-case from Billy Allie.
1998-11-17 14:42:52 +00:00
169ee404b5 Fix a couple of bugs involving calling fmtID() twice in
a single printf() ... it'd work if fmtId() didn't use a static return area...
1998-11-15 07:11:29 +00:00
44ddb8cf4c Fix test for table existance to allow mixed-case and whitespace in
the table name. Problem reported by Billy Allie.
1998-11-12 15:34:30 +00:00
555eadc904 Fix at least a few shared-library problems on Linux.
We have not seen the end of this issue :-(.
1998-11-12 05:25:05 +00:00
ddb06e30e4 Back-patch EXPLAIN VERBOSE coredump fix into 6.4 1998-11-12 03:46:14 +00:00