Tom Lane
33ab177a56
Don't assume that struct option is available just because we can find a
...
getopt_long(). This is more or less the same problem as we saw earlier
with getaddrinfo() and struct addrinfo, and for the same reason: random
user-added libraries might contain the subroutine, but there's no
guarantee we will find the matching header files.
2003-08-07 21:11:58 +00:00
Bruce Momjian
f3c3deb7d0
Update copyrights to 2003.
2003-08-04 02:40:20 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Tom Lane
f353f8e83b
There is no reason to cast valuntil to timestamp, and a very good
...
reason not to: it fails for an 'invalid' abstime. Per bug report
of today's date.
2003-07-29 14:17:37 +00:00
Peter Eisentraut
c154fc3a20
Apply message style guide to frontend programs.
2003-07-23 08:47:41 +00:00
Tom Lane
dd81eee222
Use libpq's new logic to get the server version, instead of doing it ourselves.
2003-06-22 00:56:58 +00:00
Bruce Momjian
8de72414ea
Document the -h client flag can use a socket directory as well as a host
...
name.
2003-06-11 05:13:12 +00:00
Tom Lane
9e1e72b698
Cause pg_dumpall to support the -a, -s, -x options of pg_dump.
2003-05-30 23:55:10 +00:00
Tom Lane
df1df6bb90
Cause pg_dumpall to include GRANT/REVOKE for database-level permissions
...
in its output. Make it work with server versions back to 7.0, too.
2003-05-30 22:55:16 +00:00
Tom Lane
f85f43dfb5
Backend support for autocommit removed, per recent discussions. The
...
only remnant of this failed experiment is that the server will take
SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit
logic in libpq.
2003-05-14 03:26:03 +00:00
Bruce Momjian
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
2003-04-04 20:42:13 +00:00
Tom Lane
2a44306396
pg_dumpall failed on groups having no members. Per report from
...
Nick Eskelinen.
2003-03-14 22:45:49 +00:00
Tom Lane
0c693b4926
Add missing --globals-only (long form of -g).
2003-03-06 21:45:52 +00:00
Bruce Momjian
3f6333357f
Make pg_dump/restore safer for autocommit=off in postgresql.conf.
2003-02-14 19:40:42 +00:00
Tom Lane
57ce0f84f2
Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
2003-01-16 15:27:59 +00:00
Peter Eisentraut
939a59ffc6
Use our own version of getopt_long() if the OS doesn't have one.
2003-01-06 18:53:25 +00:00
Bruce Momjian
3026493ff2
This patch fixes two tiny memory leaks in pg_dump and two in pg_dumpall.
...
Neil Conway
2002-11-29 16:38:42 +00:00
Tom Lane
1f79360907
Quote database name properly when invoking pg_dump. Per report from
...
Christopher Kings-Lynne.
2002-11-22 03:09:43 +00:00
Peter Eisentraut
4cff161703
Improve formatting of --help output.
2002-10-18 22:05:36 +00:00
Peter Eisentraut
2972fd5d83
Translation updates, some messages tweaked.
2002-09-22 20:57:21 +00:00
Peter Eisentraut
40853dd445
Allow pg_dumpall to work with previous releases again. Don't pass the -c
...
option down to pg_dump, where it's useless, and clarify the meaning of -c
in the documentation.
2002-09-07 16:14:33 +00:00
Bruce Momjian
e50f52a074
pgindent run.
2002-09-04 20:31:48 +00:00
Peter Eisentraut
b1bacebea0
Fix typos.
2002-09-02 22:18:56 +00:00
Peter Eisentraut
d54caa6b34
Break up the long usage messages in pg_dump and pg_restore and
...
unify the wording, to make life easier for translators.
from Dennis Bjorklund
2002-08-28 20:57:22 +00:00
Peter Eisentraut
2364928814
Dump ALTER DATABASE/USER ... SET ...
2002-08-28 18:25:05 +00:00
Peter Eisentraut
f032bccbdd
Flush output streams before calling pg_dump subprocess.
2002-08-27 21:33:41 +00:00
Peter Eisentraut
7af5ea736f
Reimplement pg_dumpall in C. Currently no change in functionality,
...
except that it's more robust, reconnects less often, and is NLS'ed.
2002-08-27 18:57:26 +00:00