aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Minor cleanup of PQunescapeBytea(). Avoid unportable assumptions aboutTom Lane2003-10-31
| | | | | | behavior of malloc and realloc when request size is 0. Fix escape sequence recognizer so that only valid 3-digit octal sequences are treated as escape sequences ... isdigit() is not a correct test.
* Moved the recently added test for foreign key disabled by rewriteJan Wieck2003-10-31
| | | | | | rule into the rule.sql since it affects the latter if run in paralell. Jan
* If EOF is found inside a string/comment/etc. stop parsing.Michael Meskes2003-10-31
|
* Fix for possible referential integrity violation when a qualified ON INSERTJan Wieck2003-10-31
| | | | | | | | rule split the query into one INSERT and one UPDATE where the UPDATE then hit's the just created row without modifying the key fields again. In this special case, the new key slipped in totally unchecked. Jan
* Small fix to Christopher's recent improvements --- underscore is notTom Lane2003-10-31
| | | | | a special character in regexes, but it is for LIKE, so NOT LIKE 'pg_%' is incorrect. Need NOT LIKE 'pg\_%'.
* Use Tcl ByteArray objects to avoid unwanted character set translationTom Lane2003-10-31
| | | | | in libpgtcl's lo_read/lo_write commands. Also, deal correctly with failure return from lo_read(). ljb and Tom Lane.
* Further work on tab completion code: arrange for system catalogs to beTom Lane2003-10-30
| | | | | | | | | offered for completion only when the input-so-far is at least 'pg_'. This seems to be the best compromise behavior emerging from yesterday's discussion. While at it, refactor code to eliminate repetitive use of nearly identical queries, which was exceedingly tedious to maintain. Also const-ify code more thoroughly in hopes of moving constant data into text segment, and remove unnecessary length limit on queries.
* Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.Tom Lane2003-10-30
| | | | Per example from Kumar, 30-Oct-03.
* use the result set to set the fetchsizeDave Cramer2003-10-30
|
* Applied patch by Dave Cramer to fix several bugs in compatlib.Michael Meskes2003-10-30
|
* Fix some corner cases in ACL manipulation: don't foul up on an emptyTom Lane2003-10-29
| | | | | | ACL array, and force languages to be treated as owned by the bootstrap user ID. (pg_language should have a lanowner column, but until it does this will have to do as a workaround.)
* Give a useful error message if a RangeVar is encountered in an expression.Tom Lane2003-10-29
| | | | Per example from Ian Barwick, 28-Oct-03.
* compact_fsm_storage() does need to handle the case where a relation'sTom Lane2003-10-29
| | | | | FSM data has to be both moved down and compressed. Per report from Dror Matalon.
* Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not ↵Dave Cramer2003-10-29
| | | | automatically delete cursors
* Don't include "schema." in the set of possible tab completions onceTom Lane2003-10-28
| | | | | | | | "schema." has been typed. This allows readline to complete subsequent characters immediately if all relations in the target schema start with the same prefix. This actually worked before, but I unintentionally broke it a few days ago. Also, make completion schema-aware for GRANT, REVOKE, VACUUM.
* Include -lkrb5 when needed for shlibs depending on libpq. Per reportTom Lane2003-10-28
| | | | from Johan Henselmans.
* Don't choke when the handler for a procedural language is located inTom Lane2003-10-28
| | | | the pg_catalog schema. Per bug report some months back from Jochem van Dieten.
* Change Solaris tests to test for SHM_SHARE_MMU, per Tom.Bruce Momjian2003-10-27
|
* Un-break Darwin port.Tom Lane2003-10-27
|
* Fixed bug with indicators when storage for the string is dynamically allocated.Michael Meskes2003-10-26
|
* 'sun' => '__sun__'Bruce Momjian2003-10-26
|
* Test for 'sun' rather than 'solaris' for intimate shared memory.Bruce Momjian2003-10-26
|
* Fix two bugs in funcs.source that made the tutorial script fail.Bruce Momjian2003-10-26
| | | | | | | | | | | | | | | Make a LOT of fixes to syscat.source to: * Set search_path properly (and reset it) * Add schema name to all results * Add schema name to ORDER BY first * Make checks for user-defined objects match reality * format_type all type names * Respect attisdropped * Change !~ to 'not like' since it's more standard Christopher Kings-Lynne
* Allow win32 client compiles with MSC.Bruce Momjian2003-10-26
| | | | Hiroshi Saito
* Uppercase a few keywords in queries.Bruce Momjian2003-10-26
|
* Update for m68k from Peter.Bruce Momjian2003-10-26
|
* Fix #elif typo.Bruce Momjian2003-10-26
|
* Update linux/mips port.Bruce Momjian2003-10-26
| | | | Add m68k to linux port.
* Get Tru64/cc to compile. Need to add -ieee so that it doesn't choke onPeter Eisentraut2003-10-25
| | | | | | 0.0/0.0. That option appears to affect the regression test result as well. The compiler documentation doesn't recommend -O4 for universal use, so let's stick to the conservative -O (== -O2) by default.
* Translation updatePeter Eisentraut2003-10-25
|
* Translation updatesPeter Eisentraut2003-10-25
|
* Fix CFLAGS selection to actually work. Add test to detect whether gcc'sPeter Eisentraut2003-10-25
| | | | option -fno-strict-aliasing is available.
* Remove socket credentials defines not referenced.Bruce Momjian2003-10-25
|
* Remove weird test in ccsymBruce Momjian2003-10-24
|
* Don't reference pthread.h unless we have threads enabled, per Peter.Bruce Momjian2003-10-24
|
* Use AROPT, not hard-coded flags.Peter Eisentraut2003-10-24
|
* Translation updatesPeter Eisentraut2003-10-24
|
* Add missing semicolon, per Johann Uhrmann.Tom Lane2003-10-22
| | | | Avoids warnings from newer bisons.
* Update the complex-datatype example to V1 function calling conventions,Tom Lane2003-10-21
| | | | | and add binary send/receive functions. Fix some other grottiness such as failure to mark the C functions STRICT.
* Fix built-in SQL-language functions to ensure that referenced namesTom Lane2003-10-21
| | | | | | are properly schema-qualified. Christopher Kings-Lynne
* Cope with platforms that offer LONGLONG_MIN in place of the C99-specTom Lane2003-10-21
| | | | LLONG_MIN. One example is AIX, per report from Andreas.
* Revert to 7.3-and-before practice of only including <fcntl.h> in c.hTom Lane2003-10-21
| | | | on Windows; per complaint from Andreas that it breaks AIX build.
* Fix findLastBuiltinOid_V70() to deliver correct result when runningTom Lane2003-10-21
| | | | | | against a 7.0 server. Christopher Kings-Lynne
* Update catalog version after information schema changes.Peter Eisentraut2003-10-20
|
* Complain if pg_restore is given both -d and -f options; this suggestsTom Lane2003-10-20
| | | | the user is confused about whether -f is input or output file.
* It is possible for ResolveNew to be used to insert a sublink into aTom Lane2003-10-20
| | | | | | | | | | subquery that didn't previously have one. We have traditionally made the caller of ResolveNew responsible for updating the hasSubLinks flag of the outermost query, but this fails to account for hasSubLinks in subqueries. Fix ResolveNew to handle this. We might later want to change the calling convention of ResolveNew so that it can fix the outer query too, simplifying callers. But I went with the localized fix for now. Per bug report from J Smith, 20-Oct-03.
* Improve error reporting in parseTypeString(), motivated by confusingTom Lane2003-10-20
| | | | behavior reported by Martin Marques.
* Install dummy sqlda.h file since this is needed for compatibility.Michael Meskes2003-10-20
|
* When building shared libraries on HPUX with gcc, forcibly include -lgccTom Lane2003-10-20
| | | | | | | | | to ensure any needed compiler support routines are included. This is arguably appropriate on *every* gcc platform, but for the moment I'll take the conservative approach of only doing it on a platform where it's provably useful. Per complaint from Heiko Lehmann, 13-Feb-03, as well as personal experience --- contrib/pgstattuple has never worked for me, but it does now.
* Save_r, Save_t should be static not global variables.Tom Lane2003-10-19
|