summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-12-18Here are descriptions:Bruce Momjian
- 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-18Fix for HAVE_LONG bug in snprintf.c.Bruce Momjian
1998-12-17Upgrade to Pygress 2.2.Bruce Momjian
1998-12-14Compilation of libpq for Win32 breaks on 6.4, because of a change that IBruce Momjian
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-14Current multi-byte related codes have a bug with SQL_ASCIIBruce Momjian
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-14Add routines to help with single-byte char type handling.Thomas G. Lockhart
1998-12-14Add routines and synonyms to help with single-byte char type handling.Thomas G. Lockhart
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-14Adjust handling of data type names to suppress double quotesThomas G. Lockhart
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-14Add routines to help with single-byte (internal) character type support.Thomas G. Lockhart
1998-12-14Use the new implicit type coersion techniques for matching up typesThomas G. Lockhart
between columns and DEFAULT clauses.
1998-12-14Switch around conditional code so that HAVE_TM_ZONE takes precedenceThomas G. Lockhart
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-13Build pltcl.so correctly on platforms that want dependentTom Lane
shared libraries to be listed in the link command.
1998-12-13Partial fix for vendor-cc-versus-gcc incompatibility on HPUX:Tom Lane
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-13Use standard AC_PROG_INSTALL macro to search for install program,Tom Lane
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-13Add enable_plpgsql from Oliver.Bruce Momjian
1998-12-13Cleanup patch from Oleg.Bruce Momjian
1998-12-13Fix for lo_import crash.Bruce Momjian
1998-12-13While investigating a user's complaint, I have found some memoryBruce Momjian
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-13New ecpg man page.Bruce Momjian
1998-12-13This patch fixes the undefined (according to C) and erroneous (underBruce Momjian
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-12Included patches should fix following problems in the muti-byteBruce Momjian
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-12Fix prototype for 64-bit platforms.Bruce Momjian
1998-12-12update pgaccess to 0.93.Bruce Momjian
1998-12-12Add stdio for NULL define.Bruce Momjian
1998-12-05No complaints heard about the main branch, so I'm committing thisTom Lane
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-05Fix coredumping bug in pg_dump -z; also eliminate memory leaksTom Lane
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-11-30Portability fixes found needed for SunOS 4.1.x:Tom Lane
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-29Change exp() behavior to generate error on underflow ratherTom Lane
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-29Portability fix for old SunOS releases: realloc(NULL, ...)Tom Lane
doesn't work there.
1998-11-29Portability fix for old SunOS releases: fflush(NULL)Tom Lane
doesn't work there. Fortunately the postmaster only has stdout and stderr to flush.
1998-11-29pq_getstr didn't handle buffer overrun correctly; it wouldTom Lane
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-24Additional fixes for mixed-case table names from Billy Allie.Thomas G. Lockhart
Same changes I tried to commit last time. Hope the new version of cvs keeps it down...
1998-11-24Vadim's OR fix.Bruce Momjian
1998-11-23Fixed bug in unknown module. Changed builtin function namesJan Wieck
from SPI_* to spi_*. Jan 11/23/1998
1998-11-23modify configure so that template/.similar entries can beTom Lane
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-17Additional fix for creating tables with constraintsThomas G. Lockhart
when table name is mixed-case from Billy Allie.
1998-11-15Fix a couple of bugs involving calling fmtID() twice inTom Lane
a single printf() ... it'd work if fmtId() didn't use a static return area...
1998-11-12Fix test for table existance to allow mixed-case and whitespace inThomas G. Lockhart
the table name. Problem reported by Billy Allie.
1998-11-12Fix at least a few shared-library problems on Linux.Tom Lane
We have not seen the end of this issue :-(.
1998-11-12Back-patch EXPLAIN VERBOSE coredump fix into 6.4Tom Lane
1998-11-09Fix for NOT in where clause causing crash.Bruce Momjian
1998-11-06Add "-N" flag to force double quotes around identifiers.Thomas G. Lockhart
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-06Upgrade to 0.91 of pgaccess ...Marc G. Fournier
1998-11-04Test for and handle NULL arguments to mylog() print statements.Thomas G. Lockhart
Include definition for _IN_ADDR_T if INADDR_NONE is not defined.
1998-11-04Somehow had the solaris template names reversed. Probably was somethingThomas G. Lockhart
fixed in src/configure.in a while ago.
1998-11-02Fix for relname.data from SHIOZAKI TakehikoBruce Momjian
1998-11-02slight mods required for freebsd (elf vs aout stuff)Marc G. Fournier
1998-11-01Remove various files that were moved to various subdirectories...Marc G. Fournier
Requested by: Peter T Mount peter@retep.org.uk
1998-10-31oops, forgot one part of the patch...remove 'false' setting to ELF_SYS...Marc G. Fournier
1998-10-31Minor FreeBSD fixes put in placeMarc G. Fournier
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.