Commit Graph

15 Commits

Author SHA1 Message Date
Bruce Momjian
252568dc11 Update pg_dump sgml and manuals to remove rule restriction. 1998-10-07 02:49:10 +00:00
Thomas G. Lockhart
fe9bf46bd4 Add mention of the new "suppress double quotes" command line option "-n". 1998-10-06 05:05:48 +00:00
Bruce Momjian
b7ed6f8512 Hi all
Is it too late to add a feature to pg_dump for 6.4??

I just spent most of the day learning pg_dump and modifing it so it
would
dump views also.

This is the first time I have ever contributed any code changes, so I'm
not sure of how to submit it.

The diff's and a readme as a tgz file are attached.

Thanks
Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
1998-10-06 03:09:02 +00:00
Bruce Momjian
916710fc91 pg_dump -z has gotten rather thoroughly broken in the last couple
of days --- it was emitting stuff like
	REVOKE ALL on 'table' from PUBLIC; GRANT ALL on "table" to
	"Public"; neither of which work.  While I was at it I
cleaned up a few other things:

* \connect commands are issued only in -z mode.  In this way,
reloading a pg_dump script made without -z will generate a simple
database wholly owned by the invoking user, rather than a mishmash
of tables owned by various people but lacking in access rights.
(Analogy: cp versus cp -p.)

* \connect commands are issued just before COPY FROM stdin commands;
without this, reloading a database containing non-world-writable
tables tended to fail because the COPY was not necessarily attempted
as the table owner.

* Redundant \connect commands are suppressed (each one costs a
backend launch, so...).

* Man page updated (-z wasn't ever documented).

The first two items were discussed in a pgsql-hackers thread around
6 May 98 ("An item for the TODO list: pg_dump and multiple table
owners") but no one had bothered to deal with 'em yet.

			regards, tom lane
1998-07-19 05:24:51 +00:00
Bruce Momjian
a8376c1c84 cleanup 1998-06-24 13:21:30 +00:00
Marc G. Fournier
2780576e36 From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
I've patched pg_dump.c and createdb to add support for password
authentication, using the '-u' switch as in psql. I have updated also the
man pages.
1998-01-29 02:26:47 +00:00
Bruce Momjian
1ea03f7de5 Manual page dash cleanup. 1998-01-11 22:18:01 +00:00
Bruce Momjian
dfc1a6a848 Document pg_dump -z, clean up option list. Fix problem with libpq handling of field names uppercase code. 1997-12-01 21:01:24 +00:00
Bruce Momjian
c35d7fb835 Rename pg_dump -H option to -h. 1997-10-30 03:59:59 +00:00
Bruce Momjian
57148f657f Added EXAMPLES section. 1997-01-23 06:01:07 +00:00
Bruce Momjian
4defb8f393 Add pg_dump's option meanings to the manual page. 1997-01-17 18:36:32 +00:00
Bruce Momjian
1b929d1749 Postgres95 to PostgreSQL. 1996-12-11 22:58:16 +00:00
Bruce Momjian
9b41da6ce4 Rename postgres95 to PostgreSQL. Add comment for SELECT NULL 1996-12-11 00:28:15 +00:00
Bruce Momjian
ca1a20eba4 Fix for -da option of pg_dump. 1996-11-17 04:56:16 +00:00
Marc G. Fournier
7ac541daf1 moved man pages here, as requested by Bryan 1996-11-14 10:18:14 +00:00