64c1fc7257
Avoid division by zero in estimate_num_groups() when table has no rows.
2003-10-16 21:37:54 +00:00
624292aa35
Ensure that all places that are complaining about exhaustion of shared
...
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-16 20:59:35 +00:00
2ec74435cd
Cause tab completion to do something moderately reasonable with mixed-case
...
identifiers --- it will now complete these correctly with double quoting.
Fix a few other issues in passing.
2003-10-16 20:03:09 +00:00
90b2202975
Fix bad interaction between NOTIFY processing and V3 extended query
...
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-16 16:50:41 +00:00
3992f1c50b
Translation updates
2003-10-15 10:00:20 +00:00
e9b2b56c23
New translation
2003-10-15 09:49:07 +00:00
578774d5f5
Translation update
2003-10-15 09:45:34 +00:00
dee5b779fa
New translation
2003-10-15 09:39:04 +00:00
77c1791a58
Use PQescapeString to ensure that tab-completion queries are not messed
...
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-14 22:47:12 +00:00
2a0f1c08d5
Remove void* in MemSet until we understand the gcc 3.3.1 problem better.
2003-10-14 19:08:00 +00:00
d18ba3f452
pull_up_subqueries() should copy the subquery before starting to modify
...
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-13 23:48:16 +00:00
4a39057e59
Back out makeNode() patch to fix gcc 3.3.1 warning.
2003-10-13 22:47:15 +00:00
27318d8873
Translation update
2003-10-13 21:38:37 +00:00
87299583a5
Determine max_connections first, then see how large shared_buffers can
...
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-13 21:06:44 +00:00
e7261c46aa
Adjust setRelhassubclassInRelation() to not perform actual heap_update
...
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-13 20:02:52 +00:00
4a2c34d4a0
Use makeNode() to allocate structures that have to be cast to Node *,
...
rather than allocating them on the stack.
Fixes complaint from gcc 3.3.1.
2003-10-12 23:19:21 +00:00
037468eff2
New translation
2003-10-12 19:16:36 +00:00
84b35a7f76
Added missing "commit" in test case.
2003-10-12 15:19:46 +00:00
f22ddf70be
Add void * cast to MemSet to silence compiler, and add comment that we
...
already check for alignment.
2003-10-11 19:53:45 +00:00
7fb9893f42
Back out -fstrict-aliasing void* casting.
2003-10-11 18:04:26 +00:00
47ed43440e
Translation updates
2003-10-11 17:11:02 +00:00
d51368dbbd
This patch will stop gcc from issuing warnings about type-punned objects
...
when -fstrict-aliasing is turned on, as it is in the latest gcc when you
use -O2
Andrew Dunstan
2003-10-11 16:30:55 +00:00
108f371769
Translation updates
2003-10-10 08:01:44 +00:00
9821455425
Rename __arm__/__arm__ to __arm__/__arm, found by Neil Conway
2003-10-10 03:58:57 +00:00
962987a1c2
Add NULL regression tests.
...
Manfred Koizar
2003-10-10 03:46:51 +00:00
d7c971ab7d
Change Win32 rename/unlink timeout to 3 seconds.
2003-10-10 03:27:58 +00:00
99a53d89c8
Allow pg_id to compile on Win32.
...
Andrew Dunstan
2003-10-10 01:34:51 +00:00
c568b8fbe7
Remove -pipe from compiles.
2003-10-09 22:55:46 +00:00
172b125578
Make sure that -- comments extend to the end of the line. This fixes the
...
misscanning of this construct:
SELECT ''hello world''
-- SELECT ''goodbye world''
::text;
2003-10-09 19:13:23 +00:00
034b065a66
Some updates
2003-10-09 19:11:03 +00:00
dfafeb6a89
Update Solaris FAQ to mention -fast.
2003-10-09 17:11:13 +00:00
b1d955ea7b
Remove -pipe on Linux, per reports from Peter.
2003-10-09 16:52:45 +00:00
85bd172c45
Add -pipe compile for Linux.
2003-10-09 14:47:59 +00:00
7185455c08
Make template CFLAGS handling consistent.
2003-10-09 14:40:37 +00:00
6687152582
Re-add -pipe compile flags for bsd's.
2003-10-09 04:34:02 +00:00
0e22cb1232
This centralizes the optimization defaults into configure.in, rather
...
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-09 03:20:34 +00:00
dcad7949f8
Change "query:" to "statement:".
...
Have log_duration print when log_min_duration_statement prints.
2003-10-09 02:40:18 +00:00
6acca5765e
Add quotes to CFLAG define.
2003-10-09 02:37:09 +00:00
f8d90fcc0a
Protected access to variable m_preparedCount via synchronized
...
function to prevent multiple threads using automatic cursors on
the same connection from stomping over each others cursor.
Jan
2003-10-09 01:17:07 +00:00
46c27c6997
New translations
2003-10-08 20:35:39 +00:00
c99a41be95
New translations
2003-10-08 18:38:49 +00:00
2ff4091862
Add quotes around -O setting for consistency.
2003-10-08 18:23:08 +00:00
163f0b2d48
Removed my debug printf() call from numeric.c
2003-10-08 08:28:57 +00:00
bdae05f5d1
Use calloc() to allocate empty structures.
...
Fix pg_restore tar log output bug where Special flag wasn't being
initialized; bug seen on XP.
2003-10-08 03:52:32 +00:00
b8382c2688
Have log_min_duration_statement = 0 always print duration/statement.
...
Change log line to be "duration: ms query:"
Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
cfd992ecba
Fixed floating point exception in long=>numeric conversion.
2003-10-07 18:36:46 +00:00
d665217278
Fix include used by entab.
2003-10-07 17:40:09 +00:00
06e6aa236c
Add missing include file.
2003-10-07 08:07:56 +00:00
3cda980298
Fixed error handling in Informix compat str to date conversion.
2003-10-07 05:46:56 +00:00
34e9ab027b
New Italian translation
2003-10-06 21:50:45 +00:00