aboutsummaryrefslogtreecommitdiff
path: root/src/backend
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.
* 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.
* 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
* 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
|
* Add stdio for NULL define.Bruce Momjian1998-12-12
|
* 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.
* Implement CASE expression.Thomas G. Lockhart1998-12-04
|
* 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: 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
|
* Fix using indices in OR.Vadim B. Mikheev1998-11-22
| | | | EXPLAIN all indices used.
* Add text<->float8 and text<->float4 conversion functions.Thomas G. Lockhart1998-11-17
| | | | | This will fix the problem reported by Jose' Soares when trying to cast a float to text.
* Additional fixes for mixed-case table names from Billy Allie.Thomas G. Lockhart1998-11-17
|
* Fix test for table existance to allow mixed-case and whitespace inThomas G. Lockhart1998-11-12
| | | | the table name. Problem reported by Billy Allie.
* Fix for NOT in where clause causing crash.Bruce Momjian1998-11-09
|
* EXPLAIN VERBOSE had a very high probability of triggeringTom Lane1998-11-08
| | | | | | a backend core dump, because it was concatenating a potentially long string onto another string that didn't necessarily have enough room. Shame, shame.
* Fix a potential infinite loop in appendStringInfo: would lockTom Lane1998-11-08
| | | | | | up if first string to be appended to an empty StringInfo was longer than the initial space allocation. Also speed it up slightly.
* Fix for relname.data from SHIOZAKI TakehikoBruce Momjian1998-11-02
|
* Okay, this shoudl provide a fix for the freebsd problem...Marc G. Fournier1998-10-30
| | | | Added a ELF_SYS variable and check to configure.in...
* Very minor cleanup of no-op code.Thomas G. Lockhart1998-10-29
|
* Add oid8neq.Bruce Momjian1998-10-29
|
* Re-fix test for negative-integer return code that should beTom Lane1998-10-29
| | | | testing for null-pointer return code...
* D'Arcy INET fix.Bruce Momjian1998-10-29
|
* Eliminate need for cpp-from-stdin by using a temp file.Tom Lane1998-10-28
|
* Fix for serial creation.Bruce Momjian1998-10-28
|
* Reverse out addition of snprintf.Bruce Momjian1998-10-28
|
* Don't forget to create the dynloader files...Marc G. Fournier1998-10-27
|
* Fix for tprintf overruns from Göran Thyni.Bruce Momjian1998-10-27
|
* Get rid of some minor compiler warnings.Tom Lane1998-10-26
|
* Fix some actual bugs exposed by compiler warnings.Tom Lane1998-10-26
| | | | | | (Someone forgot whether their subroutine signaled errors by a NULL pointer return value, or a negative integer... I'm surprised gcc -Wall doesn't catch this...)
* Get rid of some minor compiler warnings.Tom Lane1998-10-26
| | | | | (HP's cc doesn't like if you forward-declare a routine static, and then don't make it static in the actual definition...)
* Fix from Jan for vacuum statistics loss.Bruce Momjian1998-10-23
|
* rename file.Bruce Momjian1998-10-23
|
* Update for bsdi 3.0.Bruce Momjian1998-10-23
|
* INET/CIDR cleanup from D'Arcy.Bruce Momjian1998-10-22
|
* Add LIMIT syntax for Jan.Bruce Momjian1998-10-22
|
* Remove duplicate CIDR funcs by using coerce entries.Bruce Momjian1998-10-22
|
* CIDR/INET fixes from D'Arcy.Bruce Momjian1998-10-22
|