aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* Adjust libpq to avoid deadlock when both client and server want to sendTom Lane2003-10-19
| | | | | | data, and both have filled the transmission buffers. One scenario where this can happen was illustrated here: http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
* Check for both Informix modes when parsing include files.Michael Meskes2003-10-19
|
* Cleanup on --help-config: Now called --describe-config, no further options,Peter Eisentraut2003-10-18
| | | | | machine readable, without headers, not sorted. Parameter descriptions adjusted to fit first sentence + rest convention.
* Further work on information_schema. _pg_keyissubset() wasn't quiteTom Lane2003-10-18
| | | | | | | | | | fully search-path-proof yet; also, element_types view did not work for parameters and result types of functions, because it didn't generate the object_name for the function the same way the data_type_privileges view does. While at it, centralize dependencies on INDEX_MAX_KEYS/ FUNC_MAX_ARGS into a function returning setof int, so that it will be easier to fix information_schema for nonstandard values of these parameters.
* Repair interaction between IN-join processing and subselect pullup thatTom Lane2003-10-18
| | | | | I inadvertently broke a few days ago (per report from Sean Thomas). Add regression test case to try to catch any similar breakage in future.
* Simplify loop test to avoid bug in AIX compiler, per Andreas.Tom Lane2003-10-18
|
* Information schema fixes:Peter Eisentraut2003-10-18
| | | | | | | | Use pg_get_constraintdef instead of pg_constraint.consrc Use UNION ALL instread of UNION Make use of regclass type for getting OID of system catalogs Add schema qualifications where necessary Fix typos