summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2003-10-06Translation updatesPeter Eisentraut
2003-10-06During ALTER TABLE ADD FOREIGN KEY, try to check the existing rows usingTom Lane
a single LEFT JOIN query instead of firing the check trigger for each row individually. Stephan Szabo, with some kibitzing from Tom Lane and Jan Wieck.
2003-10-06New Slovene translationsPeter Eisentraut
2003-10-06- Fixed constant listing in execute using clause.Michael Meskes
- Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions.
2003-10-06Translation updatesPeter Eisentraut
2003-10-06Modify COPY FROM to match the null-value string against the column valueTom Lane
before it is de-backslashed, not after. This allows the null string \N to be reliably distinguished from the data value \N (which must be represented as \\N). Per bug report from Manfred Koizar ... but it's amazing this hasn't been reported before ... Also, be consistent about encoding conversion for null string: the form specified in the command is in the server encoding, but what is sent to/from client must be in client encoding. This never worked quite right before either.
2003-10-06Fix order of operations within SendQuery() so that the time spent inTom Lane
data transfer during COPY is included in the \timing display. Also avoid portability problems if tv_usec is unsigned on some platform.
2003-10-05Add a little more smarts to estimate_hash_bucketsize(): if there's noTom Lane
statistics, but there is a unique index on the column, we can safely assume it's well-distributed.
2003-10-05Make psql \timing show three digits.Bruce Momjian
2003-10-05Translation updatesPeter Eisentraut
2003-10-05When revoking privileges from the owner, don't revoke the grant options,Peter Eisentraut
to avoid recursively revoking everything from everyone.
2003-10-05Fixed bug in day of week processing.Michael Meskes