summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-10-30Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.Tom Lane
Per example from Kumar, 30-Oct-03.
2003-10-30use the result set to set the fetchsizeDave Cramer
2003-10-30Applied patch by Dave Cramer to fix several bugs in compatlib.Michael Meskes
2003-10-29Fix some corner cases in ACL manipulation: don't foul up on an emptyTom Lane
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.)
2003-10-29Give a useful error message if a RangeVar is encountered in an expression.Tom Lane
Per example from Ian Barwick, 28-Oct-03.
2003-10-29compact_fsm_storage() does need to handle the case where a relation'sTom Lane
FSM data has to be both moved down and compressed. Per report from Dror Matalon.
2003-10-29Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not ↵Dave Cramer
automatically delete cursors
2003-10-28Don't include "schema." in the set of possible tab completions onceTom Lane
"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.
2003-10-28Include -lkrb5 when needed for shlibs depending on libpq. Per reportTom Lane
from Johan Henselmans.
2003-10-28Don't choke when the handler for a procedural language is located inTom Lane
the pg_catalog schema. Per bug report some months back from Jochem van Dieten.
2003-10-27Change Solaris tests to test for SHM_SHARE_MMU, per Tom.Bruce Momjian
2003-10-27Un-break Darwin port.Tom Lane
2003-10-26Fixed bug with indicators when storage for the string is dynamically allocated.Michael Meskes
2003-10-26'sun' => '__sun__'Bruce Momjian
2003-10-26Test for 'sun' rather than 'solaris' for intimate shared memory.Bruce Momjian
2003-10-26Fix two bugs in funcs.source that made the tutorial script fail.Bruce Momjian
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
2003-10-26Allow win32 client compiles with MSC.Bruce Momjian
Hiroshi Saito
2003-10-26Uppercase a few keywords in queries.Bruce Momjian
2003-10-26Update for m68k from Peter.Bruce Momjian
2003-10-26Fix #elif typo.Bruce Momjian
2003-10-26Update linux/mips port.Bruce Momjian
Add m68k to linux port.
2003-10-25Get Tru64/cc to compile. Need to add -ieee so that it doesn't choke onPeter Eisentraut
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.
2003-10-25Translation updatePeter Eisentraut
2003-10-25Translation updatesPeter Eisentraut
2003-10-25Fix CFLAGS selection to actually work. Add test to detect whether gcc'sPeter Eisentraut
option -fno-strict-aliasing is available.
2003-10-25Remove socket credentials defines not referenced.Bruce Momjian
2003-10-24Remove weird test in ccsymBruce Momjian
2003-10-24Don't reference pthread.h unless we have threads enabled, per Peter.Bruce Momjian
2003-10-24Use AROPT, not hard-coded flags.Peter Eisentraut
2003-10-24Translation updatesPeter Eisentraut
2003-10-22Add missing semicolon, per Johann Uhrmann.Tom Lane
Avoids warnings from newer bisons.
2003-10-21Update the complex-datatype example to V1 function calling conventions,Tom Lane
and add binary send/receive functions. Fix some other grottiness such as failure to mark the C functions STRICT.
2003-10-21Fix built-in SQL-language functions to ensure that referenced namesTom Lane
are properly schema-qualified. Christopher Kings-Lynne
2003-10-21Cope with platforms that offer LONGLONG_MIN in place of the C99-specTom Lane
LLONG_MIN. One example is AIX, per report from Andreas.
2003-10-21Revert to 7.3-and-before practice of only including <fcntl.h> in c.hTom Lane
on Windows; per complaint from Andreas that it breaks AIX build.
2003-10-21Fix findLastBuiltinOid_V70() to deliver correct result when runningTom Lane
against a 7.0 server. Christopher Kings-Lynne
2003-10-20Update catalog version after information schema changes.Peter Eisentraut
2003-10-20Complain if pg_restore is given both -d and -f options; this suggestsTom Lane
the user is confused about whether -f is input or output file.
2003-10-20It is possible for ResolveNew to be used to insert a sublink into aTom Lane
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.
2003-10-20Improve error reporting in parseTypeString(), motivated by confusingTom Lane
behavior reported by Martin Marques.
2003-10-20Install dummy sqlda.h file since this is needed for compatibility.Michael Meskes
2003-10-20When building shared libraries on HPUX with gcc, forcibly include -lgccTom Lane
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.
2003-10-19Save_r, Save_t should be static not global variables.Tom Lane
2003-10-19Adjust libpq to avoid deadlock when both client and server want to sendTom Lane
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
2003-10-19Check for both Informix modes when parsing include files.Michael Meskes
2003-10-18Cleanup on --help-config: Now called --describe-config, no further options,Peter Eisentraut
machine readable, without headers, not sorted. Parameter descriptions adjusted to fit first sentence + rest convention.
2003-10-18Further work on information_schema. _pg_keyissubset() wasn't quiteTom Lane
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.
2003-10-18Repair interaction between IN-join processing and subselect pullup thatTom Lane
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.
2003-10-18Simplify loop test to avoid bug in AIX compiler, per Andreas.Tom Lane
2003-10-18Information schema fixes:Peter Eisentraut
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