Commit graph

1755 commits

Author SHA1 Message Date
Peter Eisentraut
052cd647c7 Translation update 2004-01-22 21:13:45 +00:00
Tom Lane
6369ace248 Fix incorrect dumping of database LOCATION from 7.0.* servers.
Per report from Mattias Kregert.
2004-01-22 19:09:48 +00:00
Tom Lane
5a2a8b9e01 Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig. 2004-01-21 22:05:53 +00:00
Peter Eisentraut
51299baa9b Translation update 2004-01-18 14:54:18 +00:00
Dennis Bjorklund
9575c7af6c Translation updates 2004-01-14 12:14:18 +00:00
Tom Lane
91d4f280dd pg_settings should have UPDATE privilege allowed to public.
(Can't force initdb for this in 7.4 branch, but we can at least see to it
that post-7.4.2 installations will get it right.)
2004-01-14 03:47:12 +00:00
Dennis Bjorklund
d45a3bd772 Translation updates 2004-01-11 19:30:42 +00:00
Dennis Bjorklund
f94ae60a1f Mark string for translation. 2004-01-11 19:25:44 +00:00
Tom Lane
05fb316fbb Fix incorrect SQL syntax emitted when -E is given without -P.
Report and fix from Martin Pitt.
2004-01-09 00:15:19 +00:00
Dennis Bjorklund
611d33a90a Translation updates 2004-01-08 08:51:31 +00:00
Peter Eisentraut
6a78eecf6f Translation updates 2004-01-07 17:44:07 +00:00
Peter Eisentraut
0658e7905d Translation updates 2004-01-05 19:15:55 +00:00
Tom Lane
1af7b00169 Fix ReadOffset() to work correctly when off_t is wider than int. 2004-01-04 04:02:22 +00:00
Tom Lane
8265a1d816 Do an explicit fflush after writing a progress message with puts.
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.
2004-01-01 19:27:28 +00:00
Peter Eisentraut
5570c9ee14 Forbid REVOKE on untrusted languages, and don't dump privileges of
untrusted languages (in case they sneak in).
2003-12-19 14:21:43 +00:00
Peter Eisentraut
ed651a54fd Add missing $(X). 2003-12-19 11:54:23 +00:00
Peter Eisentraut
4fa3b94f6b Second try at adjusting translations for last-minute changes. 2003-11-15 23:04:13 +00:00
Peter Eisentraut
140a81c90c Translation update 2003-11-15 17:15:38 +00:00
Peter Eisentraut
4a06878106 Adjust translations for CREATE TABLE reference page change. 2003-11-15 12:54:28 +00:00
Peter Eisentraut
64c11b9b87 Translation updates 2003-11-15 10:20:02 +00:00
Peter Eisentraut
720c8491ff Translation updates 2003-11-14 02:05:04 +00:00
Tom Lane
e2e8591f54 AcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably
my fault.  Adding it fixes bogus message display when reading a block
comment at the end of a script file.
2003-11-12 22:55:42 +00:00
Bruce Momjian
205342687e Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
2003-11-08 20:54:37 +00:00
Peter Eisentraut
bc010cd9ef Translation update 2003-10-31 22:14:15 +00:00
Tom Lane
e84487f67a Further work on tab completion code: arrange for system catalogs to be
offered for completion only when the input-so-far is at least 'pg_'.
This seems to be the best compromise behavior emerging from yesterday's
discussion.  While at it, refactor code to eliminate repetitive use of
nearly identical queries, which was exceedingly tedious to maintain.
Also const-ify code more thoroughly in hopes of moving constant data into
text segment, and remove unnecessary length limit on queries.
2003-10-30 21:37:38 +00:00
Tom Lane
15c6764bda Don't include "schema." in the set of possible tab completions once
"schema." has been typed.  This allows readline to complete subsequent
characters immediately if all relations in the target schema start with
the same prefix.  This actually worked before, but I unintentionally
broke it a few days ago.
Also, make completion schema-aware for GRANT, REVOKE, VACUUM.
2003-10-28 23:35:52 +00:00
Tom Lane
e554e2b090 Don't choke when the handler for a procedural language is located in
the pg_catalog schema.  Per bug report some months back from Jochem van Dieten.
2003-10-28 21:05:29 +00:00
Bruce Momjian
b80b384b78 Allow win32 client compiles with MSC.
Hiroshi Saito
2003-10-26 04:29:15 +00:00
Bruce Momjian
8b3414d247 Uppercase a few keywords in queries. 2003-10-26 02:53:45 +00:00
Peter Eisentraut
002e7b3789 Translation updates 2003-10-25 18:03:21 +00:00
Peter Eisentraut
b3be5e65e8 Translation updates 2003-10-24 12:07:56 +00:00
Tom Lane
10add9d8ca Fix findLastBuiltinOid_V70() to deliver correct result when running
against a 7.0 server.

Christopher Kings-Lynne
2003-10-21 04:46:28 +00:00
Tom Lane
3b64171edb Complain if pg_restore is given both -d and -f options; this suggests
the user is confused about whether -f is input or output file.
2003-10-20 21:05:12 +00:00
Peter Eisentraut
1b7ac7f130 Remove automatic '()' in other branch of UNION as well. 2003-10-17 11:52:06 +00:00
Tom Lane
fa2356a1ac Use pg_get_constraintdef() rather than pg_constraint.consrc; this is
a portion of a patch recently submitted by Christopher Kings-Lynne.
Applied by agreement that this is a bug fix.
2003-10-17 00:57:04 +00:00
Peter Eisentraut
4a48c671d2 There should not be an automatic '()' after a function name when
tab-completing.
2003-10-16 23:45:29 +00:00
Tom Lane
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
Peter Eisentraut
3992f1c50b Translation updates 2003-10-15 10:00:20 +00:00
Peter Eisentraut
e9b2b56c23 New translation 2003-10-15 09:49:07 +00:00
Tom Lane
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
Peter Eisentraut
27318d8873 Translation update 2003-10-13 21:38:37 +00:00
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.
2003-10-13 21:06:44 +00:00
Bruce Momjian
7fb9893f42 Back out -fstrict-aliasing void* casting. 2003-10-11 18:04:26 +00:00
Peter Eisentraut
47ed43440e Translation updates 2003-10-11 17:11:02 +00:00
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
2003-10-11 16:30:55 +00:00
Peter Eisentraut
108f371769 Translation updates 2003-10-10 08:01:44 +00:00
Bruce Momjian
99a53d89c8 Allow pg_id to compile on Win32.
Andrew Dunstan
2003-10-10 01:34:51 +00:00
Peter Eisentraut
46c27c6997 New translations 2003-10-08 20:35:39 +00:00
Peter Eisentraut
c99a41be95 New translations 2003-10-08 18:38:49 +00:00
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.
2003-10-08 03:52:32 +00:00