summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-12-14more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier
where you state a format and arguments. the old behavior required each appendStringInfo to have to have a sprintf() before it if any formatting was required. Also shortened several instances where there were multiple appendStringInfo() calls in a row, doing nothing more then adding one more word to the String, instead of doing them all in one call.
1998-12-14Many more cleanups...Marc G. Fournier
1998-12-14Initial attempt to clean up the code...Marc G. Fournier
Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
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 support for the CASE statement in the rewrite handling.Thomas G. Lockhart
Allows (at least some) rules and views. Still some trouble (crashes) with target CASE columns spanning tables, but lots now works.
1998-12-13Improve CASE statement support.Thomas G. Lockhart
Try to label CASE columns for a SELECT if not specified with an AS clause.
1998-12-13Fix up error messages when looking up functions and operators to notThomas G. Lockhart
make the sometimes misleading claim that more than one candidate was identified. Now say "Unable to identify...".
1998-12-13Use the new implicit type coersion techniques for matching up typesThomas G. Lockhart
between columns and DEFAULT clauses.
1998-12-13Clean up error messages associated with rules and views.Thomas G. Lockhart
Fix parser error message when an operator is not found to not explicitly claim that there is more than one.
1998-12-13Build pltcl.so correctly on platforms that want dependentTom Lane
shared libraries to be listed in the link command.
1998-12-13Add 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-13Adjust 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-13Add routines to help with single-byte (internal) character type support.Thomas G. Lockhart
1998-12-13Switch 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-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-13I have a simple patch about the treatment of functions.Bruce Momjian
But it may be self-satisfied. Please check my patch at the end of this posting. Case 1. executor evaluates functions twice Hiroshi Inoue Inoue@tpf.co.jp
1998-12-13New ecpg man page.Bruce Momjian
1998-12-13Change Size from unsigned int to size_t.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 to pgaccess 0.93.Bruce Momjian
1998-12-12Add stdio for NULL define.Bruce Momjian
1998-12-08Clean up a few elog() messages for aggregates and functions.Thomas G. Lockhart
1998-12-08Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart
Extend new type coersion techniques to aggregates. Clean up a few elog() messages.
1998-12-08Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart
Extend new type coersion techniques to aggregates.
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 readable layout.
1998-12-04These data types were removed before the last release.Thomas G. Lockhart
1998-12-04Include test for CASE expression.Thomas G. Lockhart
1998-12-04Implement CASE expression.Thomas G. Lockhart
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-29Use autoconf to determine whether system has POSIX signals,Tom Lane
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-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-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-11-23Fixed bug in the unknown module. Module still tried to callJan Wieck
builtin SPI commands by their old SPI_* names. New names are 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-22Fix using indices in OR.Vadim B. Mikheev
EXPLAIN all indices used.
1998-11-22Added indxqualorig to IndexScan: fix for using indices in OR.Vadim B. Mikheev
1998-11-19Updating and addign files...Marc G. Fournier
1998-11-18Performance improvement for libpq: avoid calling malloc separatelyTom Lane
for each field of each tuple. Makes more difference than you'd think...