1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00
Commit Graph

4220 Commits

Author SHA1 Message Date
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
190cc6354f Fix for NOT in where clause causing crash. 1998-11-09 02:49:35 +00:00
7f73a23fd7 update todo 1998-11-07 03:26:29 +00:00
8907230349 Add "-N" flag to force double quotes around identifiers.
This is the default, but the new flag will allow overriding an alias,
 for example. So psql -n -N will put in the double quotes,
 and psql -n can be an alias for psql.
Also, add a few braces around a nested single-line conditional construct
 to suppress compiler warnings about "an ambiguous else".
1998-11-06 15:56:42 +00:00
055c1ebd76 Upgrade to 0.91 of pgaccess ... 1998-11-06 04:10:26 +00:00
672c770cb8 Just added a line...allows me to test things out... 1998-11-04 22:23:12 +00:00
30f35ef9c4 Test for and handle NULL arguments to mylog() print statements.
Include definition for _IN_ADDR_T if INADDR_NONE is not defined.
1998-11-04 16:24:32 +00:00
f47bd801e3 Somehow had the solaris template names reversed. Probably was something
fixed in src/configure.in a while ago.
1998-11-04 16:22:09 +00:00
ccca422abb Fix email addres for Dan Horak per his request. 1998-11-02 15:54:27 +00:00
40064c2b24 Move configuration info to after installation procedure.
Include only the current release  in the release notes section.
1998-11-02 15:53:02 +00:00
19532d1809 Include instructions on perl installation.
Already in product docs since they were built on my machine.
1998-11-02 15:52:14 +00:00
733ad60409 Fix for relname.data from SHIOZAKI Takehiko 1998-11-02 15:28:36 +00:00
c200938343 slight mods required for freebsd (elf vs aout stuff) 1998-11-02 05:30:10 +00:00
46fb81636c Remove various files that were moved to various subdirectories...
Requested by: Peter T Mount peter@retep.org.uk
1998-11-01 16:55:02 +00:00
09634ebdfe Cleanup for v6.4 release.
Make new file current.sgml to hold release info for the current release.
 Should be moved to release.sgml before filling with next release info.
1998-10-31 09:36:38 +00:00
3af9d95f38 Try to get only html and gif files into tarballs.
Was picking up subdirectories and other garbage.
1998-10-31 09:35:19 +00:00
b43b8fb09f New versions for v6.4 release. 1998-10-31 09:32:55 +00:00
8dd88a4038 Generate from installation.sgml -> installation.rtf -> ApplixWare
-> INSTALL with some cleanup in vi.
1998-10-31 09:31:58 +00:00
4f4edb8307 Thanks to Vince Vielhaber <vev@michvhf.com>
Here is an os2 psql client, with libpq.a library
1998-10-31 04:10:53 +00:00
585442154a oops, forgot one part of the patch...remove 'false' setting to ELF_SYS... 1998-10-31 04:07:00 +00:00
15d61bb439 Minor FreeBSD fixes put in place
From: SHIOZAKI Takehiko <takehi-s@ascii.co.jp>

I tried snapshot(Oct30) and made some patches.
# I think that it is confused to manage both Makefile.shlib and
# makefiles/Makefile.*, don't you?

* configure
        Now FreeBSD 2.X is not supported..., so I added its entry.
        If ELF_SYSTEM is set, gmake treat it defined even though
        it is "false".  So nothing should be set to use "ifdef".
        BSD_SHLIB etc. may have same problems.

* Makefile.shlib
        As you said, FreeBSD entry is much like BSD's.
        I only added ELF_SYSTEM code.

* makefiles/Makefile.freebsd
        Ifdef/else/endif can not be indented with TABs.
1998-10-31 03:58:55 +00:00
2e18525dbe s_lock patch from Ryan. 1998-10-31 02:06:08 +00:00