aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier1998-12-14
| | | | | | | | | | 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.
* Many more cleanups...Marc G. Fournier1998-12-14
|
* Initial attempt to clean up the code...Marc G. Fournier1998-12-14
| | | | | | Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
* Current multi-byte related codes have a bug with SQL_ASCIIBruce Momjian1998-12-14
| | | | | | | | | | | 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
* Add support for the CASE statement in the rewrite handling.Thomas G. Lockhart1998-12-14
| | | | | | Allows (at least some) rules and views. Still some trouble (crashes) with target CASE columns spanning tables, but lots now works.
* Improve CASE statement support.Thomas G. Lockhart1998-12-13
| | | | Try to label CASE columns for a SELECT if not specified with an AS clause.
* Fix up error messages when looking up functions and operators to notThomas G. Lockhart1998-12-13
| | | | | make the sometimes misleading claim that more than one candidate was identified. Now say "Unable to identify...".
* Use the new implicit type coersion techniques for matching up typesThomas G. Lockhart1998-12-13
| | | | between columns and DEFAULT clauses.
* Clean up error messages associated with rules and views.Thomas G. Lockhart1998-12-13
| | | | | Fix parser error message when an operator is not found to not explicitly claim that there is more than one.
* Build pltcl.so correctly on platforms that want dependentTom Lane1998-12-13
| | | | shared libraries to be listed in the link command.
* Add routines and synonyms to help with single-byte char type handling.Thomas G. Lockhart1998-12-13
| | | | | | 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.
* Adjust handling of data type names to suppress double quotesThomas G. Lockhart1998-12-13
| | | | | | | | | | 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.
* Add routines to help with single-byte (internal) character type support.Thomas G. Lockhart1998-12-13
|
* Switch around conditional code so that HAVE_TM_ZONE takes precedenceThomas G. Lockhart1998-12-13
| | | | | | | 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.
* Partial fix for vendor-cc-versus-gcc incompatibility on HPUX:Tom Lane1998-12-13
| | | | | 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...
* Use standard AC_PROG_INSTALL macro to search for install program,Tom Lane1998-12-13
| | | | | | | | 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.
* Add enable_plpgsql from Oliver.Bruce Momjian1998-12-13
|
* Cleanup patch from Oleg.Bruce Momjian1998-12-13
|
* Fix for lo_import crash.Bruce Momjian1998-12-13
|
* While investigating a user's complaint, I have found some memoryBruce Momjian1998-12-13
| | | | | | | | | | | | | | | | | | 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
* I have a simple patch about the treatment of functions.Bruce Momjian1998-12-13
| | | | | | | | | | 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
* New ecpg man page.Bruce Momjian1998-12-13
|
* Change Size from unsigned int to size_t.Bruce Momjian1998-12-13
|
* This patch fixes the undefined (according to C) and erroneous (underBruce Momjian1998-12-13
| | | | | | | | | | 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
* Included patches should fix following problems in the muti-byteBruce Momjian1998-12-12
| | | | | | | | | | 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
* Fix prototype for 64-bit platforms.Bruce Momjian1998-12-12
|
* Update to pgaccess 0.93.Bruce Momjian1998-12-12
|
* Add stdio for NULL define.Bruce Momjian1998-12-12
|
* Clean up a few elog() messages for aggregates and functions.Thomas G. Lockhart1998-12-08
|
* Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart1998-12-08
| | | | | Extend new type coersion techniques to aggregates. Clean up a few elog() messages.
* Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart1998-12-08
| | | | Extend new type coersion techniques to aggregates.
* Fix coredumping bug in pg_dump -z; also eliminate memory leaksTom Lane1998-12-05
| | | | | | | 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.
* These data types were removed before the last release.Thomas G. Lockhart1998-12-04
|
* Include test for CASE expression.Thomas G. Lockhart1998-12-04
|
* Implement CASE expression.Thomas G. Lockhart1998-12-04
|
* Portability fixes found needed for SunOS 4.1.x:Tom Lane1998-11-30
| | | | | | 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...
* Use autoconf to determine whether system has POSIX signals,Tom Lane1998-11-29
| | | | | | | 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.
* Change exp() behavior to generate error on underflow ratherTom Lane1998-11-29
| | | | | | than silently returning zero on some machines. Correct float8 regress test to agree. Also fix pow() overflow/underflow check to work correctly on HPUX.
* Portability fix for old SunOS releases: realloc(NULL, ...)Tom Lane1998-11-29
| | | | doesn't work there.
* Portability fix for old SunOS releases: fflush(NULL)Tom Lane1998-11-29
| | | | | doesn't work there. Fortunately the postmaster only has stdout and stderr to flush.
* pq_getstr didn't handle buffer overrun correctly; it wouldTom Lane1998-11-29
| | | | | | 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.
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-27
|
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-27
|
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-27
|
* Fixed bug in the unknown module. Module still tried to callJan Wieck1998-11-23
| | | | | | builtin SPI commands by their old SPI_* names. New names are spi_*. Jan - 11/23/1998
* modify configure so that template/.similar entries can beTom Lane1998-11-23
| | | | | | | 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.
* Fix using indices in OR.Vadim B. Mikheev1998-11-22
| | | | EXPLAIN all indices used.
* Added indxqualorig to IndexScan: fix for using indices in OR.Vadim B. Mikheev1998-11-22
|
* Updating and addign files...Marc G. Fournier1998-11-19
|
* Performance improvement for libpq: avoid calling malloc separatelyTom Lane1998-11-18
| | | | for each field of each tuple. Makes more difference than you'd think...