summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2003-10-18Must free the pgParameterStatus chain in freePGconn(). My fault,Tom Lane
well spotted by Neil Conway.
2003-10-17Fix elog tab-insertion code to insert tabs only where wanted.Tom Lane
2003-10-17Remove automatic '()' in other branch of UNION as well.Peter Eisentraut
2003-10-17Adjust display of actual runtimes in EXPLAIN output to use three fractionalTom Lane
digits, and label it 'ms' not 'msec', for consistency with psql's \timing display. Per recent discussions.
2003-10-17Use pg_get_constraintdef() rather than pg_constraint.consrc; this isTom Lane
a portion of a patch recently submitted by Christopher Kings-Lynne. Applied by agreement that this is a bug fix.
2003-10-16Fix bugs in referential_constraints view.Peter Eisentraut
2003-10-16There should not be an automatic '()' after a function name whenPeter Eisentraut
tab-completing.
2003-10-16Set attstattarget to -1 for all system catalog columns. All but a fewTom Lane
of the entries used to be zero, which I think I had deliberately done in the name of saving cycles during ANALYZE, but it was really a rather foolish decision. Some of the more complex views in information_schema were getting really bad plans for lack of statistics on the columns they were joining over. I'm not forcing an initdb for this, but I think there will be one soon anyway to repair some bugs in the information_schema views.
2003-10-16Avoid division by zero in estimate_num_groups() when table has no rows.Tom Lane
2003-10-16Ensure that all places that are complaining about exhaustion of sharedTom Lane
memory say 'out of shared memory'; some were doing that and some just said 'out of memory'. Also add a HINT about increasing max_locks_per_transaction where relevant, per suggestion from Sean Chittenden. (The former change does not break the strings freeze; the latter does, but I think it's worth doing anyway.)
2003-10-16Cause tab completion to do something moderately reasonable with mixed-caseTom Lane
identifiers --- it will now complete these correctly with double quoting. Fix a few other issues in passing.
2003-10-16Fix bad interaction between NOTIFY processing and V3 extended queryTom Lane
protocol, per report from Igor Shevchenko. NOTIFY thought it could do its thing if transaction blockState is TBLOCK_DEFAULT, but in reality it had better check the low-level transaction state is TRANS_DEFAULT as well. Formerly it was not possible to wait for the client in a state where the first is true and the second is not ... but now we can have such a state. Minor cleanup in StartTransaction() as well.
2003-10-15Translation updatesPeter Eisentraut
2003-10-15New translationPeter Eisentraut
2003-10-15Translation updatePeter Eisentraut
2003-10-15New translationPeter Eisentraut
2003-10-14Use PQescapeString to ensure that tab-completion queries are not messedTom Lane
up by quotes or backslashes in words that are being matched to database names (per gripe from Ian Barwick, though I didn't use his patch). Also fix possible memory leakage if _complete_with_query isn't run to completion (not clear if that can happen or not, but be safe).
2003-10-14Remove void* in MemSet until we understand the gcc 3.3.1 problem better.Bruce Momjian
2003-10-13pull_up_subqueries() should copy the subquery before starting to modifyTom Lane
it. Not sure why I'd thought it would be a good idea to do differently way back when, but Greg Stark exposed the folly of doing so ...