Tom Lane
90c3ebe4d7
Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.
2004-11-27 18:51:08 +00:00
Neil Conway
e17766c12e
Trivial fix for a bug introduced in r1.94 of help.c: we want to only
...
include "\s" in \? output when readline is enabled, but that commit
supressed "\s" whether readline was enabled or not.
2004-11-24 04:58:42 +00:00
Peter Eisentraut
2663e0c2e9
New translations
2004-11-23 23:13:26 +00:00
Peter Eisentraut
98f5efe774
Translation updates
2004-11-23 22:16:04 +00:00
Peter Eisentraut
050a0074c2
Translation update
2004-11-18 10:09:59 +00:00
Tom Lane
c36496a101
Include <getopt.h> if available, to avoid warnings on Windows.
2004-11-17 21:37:47 +00:00
Tom Lane
6444bc3535
Set DEFAULT_EDITOR to notepad.exe on Windows, as per recent discussion.
2004-11-17 18:32:31 +00:00
Tom Lane
5d72ef83fd
Miscellaneous Cygwin build fixes from Reini Urban.
2004-11-17 17:46:24 +00:00
Tom Lane
18b58350db
Be sure length limit passed to snprintf matches what malloc was given.
...
Just paranoia ...
2004-11-17 16:34:42 +00:00
Peter Eisentraut
8a1821ab5b
Translation update
2004-11-16 22:58:44 +00:00
Tom Lane
3d1e269e7e
Don't quote the value of EDITOR on Unix, only on Windows. Per discussion.
2004-11-15 23:15:12 +00:00
Tom Lane
f6474586ea
Use English-style quotes in error messages, per Serguei Mokhov.
2004-11-14 23:36:53 +00:00
Bruce Momjian
fc402fdf2d
pg_restore --help improvements, from Tom Lane:
...
! printf(_(" -d, --dbname=NAME connect to database name\n"));
! printf(_(" -C, --create create the target database\n"));
2004-11-11 17:06:46 +00:00
Peter Eisentraut
e9c05281b5
Get rid of perror(), substitute some better phrased error messages.
...
malloc() doesn't set errno, so most uses were buggy anyway.
2004-11-09 15:57:57 +00:00
Peter Eisentraut
1813d94664
Translation updates
2004-11-09 14:46:37 +00:00
Peter Eisentraut
7d8578a0c2
Clarify some strings
2004-11-09 14:39:44 +00:00
Peter Eisentraut
ea182a9ef4
Translation update
2004-11-09 14:38:48 +00:00
Bruce Momjian
0d3b8e9a50
Allow win32/cygwin link against the first matching library symbol rather
...
than erroring out. This is the Unix behavior.
2004-11-08 05:23:26 +00:00
Peter Eisentraut
c22b4fa386
New translation
2004-11-07 23:38:19 +00:00
Peter Eisentraut
58b33f2e85
Translation updates
2004-11-07 23:28:20 +00:00
Tom Lane
04baa0ebf9
Update pg_dump to use SET DEFAULT_TABLESPACE instead of explicit
...
tablespace clauses; this should improve compatibility of dump files.
Philip Warner, some rework by Tom Lane.
2004-11-06 19:36:02 +00:00
Bruce Momjian
1d13bed735
Remove directory from cmd.exe default shell.
2004-11-06 17:56:40 +00:00
Bruce Momjian
86100de856
Variable initializer no longer necessary.
2004-11-06 05:20:41 +00:00
Bruce Momjian
7ba377431e
Tests for COMSPEC in the right place and supply a reasonable shell
...
default on Win32.
2004-11-06 04:29:40 +00:00
Tom Lane
98e8b48053
Create 'default_tablespace' GUC variable that supplies a TABLESPACE
...
clause implicitly whenever one is not given explicitly. Remove concept
of a schema having an associated tablespace, and simplify the rules for
selecting a default tablespace for a table or index. It's now just
(a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
empty string; (c) database's default. This will allow pg_dump to use
SET commands instead of tablespace clauses to determine object locations
(but I didn't actually make it do so). All per recent discussions.
2004-11-05 19:17:13 +00:00
Bruce Momjian
54691d414d
Fix psql \e and \! for Win32.
2004-11-04 22:25:14 +00:00
Peter Eisentraut
d0066b9fa4
Tab completion for CREATE TABLESPACE arguments. Patch by Joachim Wieland.
2004-11-02 16:10:05 +00:00
Peter Eisentraut
bb2d1ce8f1
Translation updates
2004-11-02 09:28:41 +00:00
Peter Eisentraut
005b1b5fc8
Translation updates
2004-11-02 09:20:22 +00:00
Bruce Momjian
7fad5fff0d
That's just the lovely way windows handles a "segfault". Gotta be really
...
interesting for MS to catch all those dumps...
Anyway. Oops. Seems I ran my regression tests with the old psql, and
just managed to update the backend, when I tested that patch. Turns out
there are codepaths where we'd access the Critical Section before it was
initialized. Attached patch breaks the initializeation off to a separate
part and adds that one to a much earlier position in the program.
Magnus Hagander
2004-11-01 19:21:50 +00:00
Tom Lane
44e8a968e3
Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.
...
Use this new function in psql. Implement query cancellation in psql for
Windows. Code by Magnus Hagander, documentation and minor editorialization
by Tom Lane.
2004-10-30 23:11:27 +00:00
Peter Eisentraut
94c502f1db
Translation updates
2004-10-28 09:01:06 +00:00
Peter Eisentraut
fc4cfc366d
Translation updates
2004-10-28 08:54:09 +00:00
Bruce Momjian
a7049b52e3
Have pg_ctl status always output to stdout, even stopped status, not stderr.
2004-10-27 19:44:14 +00:00
Bruce Momjian
3fe704209a
Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus.
2004-10-27 17:17:09 +00:00
Peter Eisentraut
2514e904da
New translation
2004-10-27 11:44:09 +00:00
Peter Eisentraut
ad6b3975c9
Translation updates
2004-10-27 11:22:18 +00:00
Peter Eisentraut
2db0bde40e
Translation update
2004-10-27 11:13:29 +00:00
Peter Eisentraut
cd92d85d11
Translation updates
2004-10-27 11:09:33 +00:00
Peter Eisentraut
979b0be4c3
Translation updates
2004-10-27 10:22:47 +00:00
Peter Eisentraut
eb7fc3eb1f
Translation updates
2004-10-27 10:13:49 +00:00
Tom Lane
85b2facdd8
Write config files as text not binary, per Magnus Hagander.
2004-10-24 15:55:29 +00:00
Dennis Bjorklund
8b9aaea888
Translation update
2004-10-23 14:48:03 +00:00
Dennis Bjorklund
fea9cf6231
Translation updates
2004-10-23 07:29:27 +00:00
Dennis Bjorklund
3b15cc9129
Translation update
2004-10-23 06:48:59 +00:00
Dennis Bjorklund
f4eaed6bd9
Translation updates
2004-10-23 06:40:24 +00:00
Dennis Bjorklund
0b7705fff8
Translation updates
2004-10-23 06:32:53 +00:00
Tom Lane
521408a56f
Don't use LC_MESSAGES value on WIN32, since it doesn't work.
...
Magnus Hagander
2004-10-22 22:30:57 +00:00
Peter Eisentraut
4733dcc592
Translation updates
2004-10-22 16:05:02 +00:00
Peter Eisentraut
77c0204a37
Message styling
2004-10-22 16:04:35 +00:00