aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Must free the pgParameterStatus chain in freePGconn(). My fault,Tom Lane2003-10-18
| | | | well spotted by Neil Conway.
* Fix elog tab-insertion code to insert tabs only where wanted.Tom Lane2003-10-17
|
* Remove automatic '()' in other branch of UNION as well.Peter Eisentraut2003-10-17
|
* Adjust display of actual runtimes in EXPLAIN output to use three fractionalTom Lane2003-10-17
| | | | | digits, and label it 'ms' not 'msec', for consistency with psql's \timing display. Per recent discussions.
* Use pg_get_constraintdef() rather than pg_constraint.consrc; this isTom Lane2003-10-17
| | | | | a portion of a patch recently submitted by Christopher Kings-Lynne. Applied by agreement that this is a bug fix.
* Fix bugs in referential_constraints view.Peter Eisentraut2003-10-16
|
* There should not be an automatic '()' after a function name whenPeter Eisentraut2003-10-16
| | | | tab-completing.
* Set attstattarget to -1 for all system catalog columns. All but a fewTom Lane2003-10-16
| | | | | | | | | | | 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.
* Avoid division by zero in estimate_num_groups() when table has no rows.Tom Lane2003-10-16
|
* Ensure that all places that are complaining about exhaustion of sharedTom Lane2003-10-16
| | | | | | | | 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.)
* Cause tab completion to do something moderately reasonable with mixed-caseTom Lane2003-10-16
| | | | | identifiers --- it will now complete these correctly with double quoting. Fix a few other issues in passing.
* Fix bad interaction between NOTIFY processing and V3 extended queryTom Lane2003-10-16
| | | | | | | | | | 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.
* Translation updatesPeter Eisentraut2003-10-15
|
* New translationPeter Eisentraut2003-10-15
|
* Translation updatePeter Eisentraut2003-10-15
|
* New translationPeter Eisentraut2003-10-15
|
* Use PQescapeString to ensure that tab-completion queries are not messedTom Lane2003-10-14
| | | | | | | 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).
* Remove void* in MemSet until we understand the gcc 3.3.1 problem better.Bruce Momjian2003-10-14
|
* pull_up_subqueries() should copy the subquery before starting to modifyTom Lane2003-10-13
| | | | | 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 ...
* Back out makeNode() patch to fix gcc 3.3.1 warning.Bruce Momjian2003-10-13
|
* Translation updatePeter Eisentraut2003-10-13
|
* Determine max_connections first, then see how large shared_buffers canTom Lane2003-10-13
| | | | | | | | 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.
* Adjust setRelhassubclassInRelation() to not perform actual heap_updateTom Lane2003-10-13
| | | | | | | | | 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.
* Use makeNode() to allocate structures that have to be cast to Node *,Bruce Momjian2003-10-12
| | | | | | rather than allocating them on the stack. Fixes complaint from gcc 3.3.1.
* New translationPeter Eisentraut2003-10-12
|
* Added missing "commit" in test case.Michael Meskes2003-10-12
|
* Add void * cast to MemSet to silence compiler, and add comment that weBruce Momjian2003-10-11
| | | | already check for alignment.
* Back out -fstrict-aliasing void* casting.Bruce Momjian2003-10-11
|
* Translation updatesPeter Eisentraut2003-10-11
|
* This patch will stop gcc from issuing warnings about type-punned objectsBruce Momjian2003-10-11
| | | | | | | when -fstrict-aliasing is turned on, as it is in the latest gcc when you use -O2 Andrew Dunstan
* Translation updatesPeter Eisentraut2003-10-10
|
* Rename __arm__/__arm__ to __arm__/__arm, found by Neil ConwayBruce Momjian2003-10-10
|
* Add NULL regression tests.Bruce Momjian2003-10-10
| | | | Manfred Koizar
* Change Win32 rename/unlink timeout to 3 seconds.Bruce Momjian2003-10-10
|
* Allow pg_id to compile on Win32.Bruce Momjian2003-10-10
| | | | Andrew Dunstan
* Remove -pipe from compiles.Bruce Momjian2003-10-09
|
* Make sure that -- comments extend to the end of the line. This fixes thePeter Eisentraut2003-10-09
| | | | | | | | misscanning of this construct: SELECT ''hello world'' -- SELECT ''goodbye world'' ::text;
* Some updatesPeter Eisentraut2003-10-09
|
* Update Solaris FAQ to mention -fast.Bruce Momjian2003-10-09
|
* Remove -pipe on Linux, per reports from Peter.Bruce Momjian2003-10-09
|
* Add -pipe compile for Linux.Bruce Momjian2003-10-09
|
* Make template CFLAGS handling consistent.Bruce Momjian2003-10-09
|
* Re-add -pipe compile flags for bsd's.Bruce Momjian2003-10-09
|
* This centralizes the optimization defaults into configure.in, ratherBruce Momjian2003-10-09
| | | | | | | 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.
* Change "query:" to "statement:".Bruce Momjian2003-10-09
| | | | Have log_duration print when log_min_duration_statement prints.
* Add quotes to CFLAG define.Bruce Momjian2003-10-09
|
* Protected access to variable m_preparedCount via synchronizedJan Wieck2003-10-09
| | | | | | | function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Jan
* New translationsPeter Eisentraut2003-10-08
|
* New translationsPeter Eisentraut2003-10-08
|
* Add quotes around -O setting for consistency.Bruce Momjian2003-10-08
|