summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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 ...
2003-10-13Back out makeNode() patch to fix gcc 3.3.1 warning.Bruce Momjian
2003-10-13Translation updatePeter Eisentraut
2003-10-13Determine max_connections first, then see how large shared_buffers canTom Lane
be made, to avoid corner cases where max_connections ends up unreasonably small because shared_buffers is hogging too much shmem space. Per pghackers discussion about a week ago. Also, fix the copy-newlines problem in a more robust way, by using COPY FROM filename instead of COPY FROM STDIN; per a suggestion from Peter.
2003-10-13Adjust setRelhassubclassInRelation() to not perform actual heap_updateTom Lane
when the pg_class.relhassubclass value is already correct. This should avoid most cases of the 'tuple concurrently updated' problem that Robert Creager recently complained about. Also remove a bunch of dead code in StoreCatalogInheritance() --- it was still computing the complete list of direct and indirect inheritance ancestors, though that list has not been needed since we got rid of the pg_ipl catalog.
2003-10-12Use makeNode() to allocate structures that have to be cast to Node *,Bruce Momjian
rather than allocating them on the stack. Fixes complaint from gcc 3.3.1.
2003-10-12New translationPeter Eisentraut
2003-10-12Added missing "commit" in test case.Michael Meskes
2003-10-11Add void * cast to MemSet to silence compiler, and add comment that weBruce Momjian
already check for alignment.
2003-10-11Back out -fstrict-aliasing void* casting.Bruce Momjian
2003-10-11Translation updatesPeter Eisentraut
2003-10-11This patch will stop gcc from issuing warnings about type-punned objectsBruce Momjian
when -fstrict-aliasing is turned on, as it is in the latest gcc when you use -O2 Andrew Dunstan
2003-10-10Translation updatesPeter Eisentraut
2003-10-10Rename __arm__/__arm__ to __arm__/__arm, found by Neil ConwayBruce Momjian
2003-10-10Add NULL regression tests.Bruce Momjian
Manfred Koizar
2003-10-10Change Win32 rename/unlink timeout to 3 seconds.Bruce Momjian
2003-10-10Allow pg_id to compile on Win32.Bruce Momjian
Andrew Dunstan
2003-10-09Remove -pipe from compiles.Bruce Momjian
2003-10-09Make sure that -- comments extend to the end of the line. This fixes thePeter Eisentraut
misscanning of this construct: SELECT ''hello world'' -- SELECT ''goodbye world'' ::text;
2003-10-09Some updatesPeter Eisentraut
2003-10-09Update Solaris FAQ to mention -fast.Bruce Momjian
2003-10-09Remove -pipe on Linux, per reports from Peter.Bruce Momjian
2003-10-09Add -pipe compile for Linux.Bruce Momjian
2003-10-09Make template CFLAGS handling consistent.Bruce Momjian
2003-10-09Re-add -pipe compile flags for bsd's.Bruce Momjian
2003-10-09This centralizes the optimization defaults into configure.in, ratherBruce Momjian
than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
2003-10-09Change "query:" to "statement:".Bruce Momjian
Have log_duration print when log_min_duration_statement prints.
2003-10-09Add quotes to CFLAG define.Bruce Momjian
2003-10-09Protected access to variable m_preparedCount via synchronizedJan Wieck
function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Jan
2003-10-08New translationsPeter Eisentraut
2003-10-08New translationsPeter Eisentraut
2003-10-08Add quotes around -O setting for consistency.Bruce Momjian
2003-10-08Removed my debug printf() call from numeric.cMichael Meskes
2003-10-08Use calloc() to allocate empty structures.Bruce Momjian
Fix pg_restore tar log output bug where Special flag wasn't being initialized; bug seen on XP.
2003-10-08Have log_min_duration_statement = 0 always print duration/statement.Bruce Momjian
Change log line to be "duration: ms query:" Indent multi-line queries with a tab in the server logs.
2003-10-07Fixed floating point exception in long=>numeric conversion.Michael Meskes
2003-10-07Fix include used by entab.Bruce Momjian
2003-10-07Add missing include file.Peter Eisentraut
2003-10-07Fixed error handling in Informix compat str to date conversion.Michael Meskes
2003-10-06New Italian translationPeter Eisentraut
2003-10-06Fix binary_oper_exact() so that the heuristic 'an unknown literal onTom Lane
one side of a binary operator is probably supposed to be the same type as the other operand' will be applied for domain types. This worked in 7.3 but was broken in 7.4 due to code rearrangements. Mea culpa.