Tom Lane
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 ...
23 years ago
Bruce Momjian
4a39057e59
Back out makeNode() patch to fix gcc 3.3.1 warning.
23 years ago
Peter Eisentraut
27318d8873
Translation update
23 years ago
Tom Lane
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.
23 years ago
Tom Lane
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.
23 years ago
Bruce Momjian
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.
23 years ago
Peter Eisentraut
037468eff2
New translation
23 years ago
Michael Meskes
84b35a7f76
Added missing "commit" in test case.
23 years ago
Bruce Momjian
f22ddf70be
Add void * cast to MemSet to silence compiler, and add comment that we
...
already check for alignment.
23 years ago
Bruce Momjian
7fb9893f42
Back out -fstrict-aliasing void* casting.
23 years ago
Peter Eisentraut
47ed43440e
Translation updates
23 years ago
Bruce Momjian
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
23 years ago
Peter Eisentraut
108f371769
Translation updates
23 years ago
Bruce Momjian
9821455425
Rename __arm__/__arm__ to __arm__/__arm, found by Neil Conway
23 years ago
Bruce Momjian
962987a1c2
Add NULL regression tests.
...
Manfred Koizar
23 years ago
Bruce Momjian
d7c971ab7d
Change Win32 rename/unlink timeout to 3 seconds.
23 years ago
Bruce Momjian
99a53d89c8
Allow pg_id to compile on Win32.
...
Andrew Dunstan
23 years ago
Bruce Momjian
c568b8fbe7
Remove -pipe from compiles.
23 years ago
Peter Eisentraut
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;
23 years ago
Peter Eisentraut
034b065a66
Some updates
23 years ago
Bruce Momjian
dfafeb6a89
Update Solaris FAQ to mention -fast.
23 years ago
Bruce Momjian
b1d955ea7b
Remove -pipe on Linux, per reports from Peter.
23 years ago
Bruce Momjian
85bd172c45
Add -pipe compile for Linux.
23 years ago
Bruce Momjian
7185455c08
Make template CFLAGS handling consistent.
23 years ago
Bruce Momjian
6687152582
Re-add -pipe compile flags for bsd's.
23 years ago
Bruce Momjian
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.
23 years ago
Bruce Momjian
dcad7949f8
Change "query:" to "statement:".
...
Have log_duration print when log_min_duration_statement prints.
23 years ago
Bruce Momjian
6acca5765e
Add quotes to CFLAG define.
23 years ago
Jan Wieck
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
23 years ago
Peter Eisentraut
46c27c6997
New translations
23 years ago
Peter Eisentraut
c99a41be95
New translations
23 years ago
Bruce Momjian
2ff4091862
Add quotes around -O setting for consistency.
23 years ago
Michael Meskes
163f0b2d48
Removed my debug printf() call from numeric.c
23 years ago
Bruce Momjian
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.
23 years ago
Bruce Momjian
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.
23 years ago
Michael Meskes
cfd992ecba
Fixed floating point exception in long=>numeric conversion.
23 years ago
Bruce Momjian
d665217278
Fix include used by entab.
23 years ago
Peter Eisentraut
06e6aa236c
Add missing include file.
23 years ago
Michael Meskes
3cda980298
Fixed error handling in Informix compat str to date conversion.
23 years ago
Peter Eisentraut
34e9ab027b
New Italian translation
23 years ago
Tom Lane
b05ff39d7c
Fix binary_oper_exact() so that the heuristic 'an unknown literal on
...
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.
23 years ago
Peter Eisentraut
f98cbb76a0
Translation updates
23 years ago
Tom Lane
fec58f6c3f
During ALTER TABLE ADD FOREIGN KEY, try to check the existing rows using
...
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.
23 years ago
Peter Eisentraut
a0ab31dcc6
New Slovene translations
23 years ago
Michael Meskes
aeb1f6478e
- Fixed constant listing in execute using clause.
...
- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
23 years ago
Peter Eisentraut
5e3aaf5402
Translation updates
23 years ago
Tom Lane
0eceaaf9b7
Modify COPY FROM to match the null-value string against the column value
...
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.
23 years ago
Tom Lane
351adb8dfb
Fix order of operations within SendQuery() so that the time spent in
...
data transfer during COPY is included in the \timing display. Also
avoid portability problems if tv_usec is unsigned on some platform.
23 years ago
Tom Lane
a1dcd8f6dd
Add a little more smarts to estimate_hash_bucketsize(): if there's no
...
statistics, but there is a unique index on the column, we can safely
assume it's well-distributed.
23 years ago
Bruce Momjian
22347dc102
Make psql \timing show three digits.
23 years ago