Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > rfc: add pg_dum...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 9475 of 10965
Post > Topic >>

rfc: add pg_dump options to dump output

by xzilla@[EMAIL PROTECTED] (Robert Treat) Jun 2, 2008 at 04:54 PM

I would like to add the flags given to pg_dump into the output of the
pg_dump 
file. For text dumps, the output would go on a line below the current
header, 
so output would look like:

--
-- PostgreSQL database dump complete
--
-- Generated by: pg_dump -s -U rob pagila 
--

For compressed dumps, the output could go into the headers created with
-l, 
for example:

; Archive created at Mon Jun  2 16:43:19 2008
;     dbname: pgods
;     TOC Entries: 3
;     Compression: -1
;     Dump Version: 1.10-0
;     Format: CUSTOM
;     Integer: 4 bytes
;     Offset: 8 bytes
;     Dumped from database version: 8.3.1
;     Dumped by pg_dump version: 8.3.1
;     Generated by: pg_dump -s -U rob -Fc pagila
;
;
; Selected TOC Entries:


Anyone see any issues with this? Should there be other information taken
into 
account? Does this need to be an option itself, or can we just do it in
all 
cases? 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 10 Posts in Topic:
rfc: add pg_dump options to dump output
xzilla@[EMAIL PROTECTED]   2008-06-02 16:54:22 
Re: rfc: add pg_dump options to dump output
josh@[EMAIL PROTECTED] (  2008-06-02 14:06:57 
Re: rfc: add pg_dump options to dump output
decibel@[EMAIL PROTECTED]  2008-06-04 08:21:26 
Re: rfc: add pg_dump options to dump output
tgl@[EMAIL PROTECTED] (T  2008-06-03 01:17:43 
Re: rfc: add pg_dump options to dump output
pgsql@[EMAIL PROTECTED]   2008-06-03 09:43:24 
Re: rfc: add pg_dump options to dump output
tgl@[EMAIL PROTECTED] (T  2008-06-03 23:49:21 
Re: rfc: add pg_dump options to dump output
xzilla@[EMAIL PROTECTED]   2008-06-03 22:24:37 
Re: rfc: add pg_dump options to dump output
euler@[EMAIL PROTECTED]   2008-06-04 01:49:22 
Re: rfc: add pg_dump options to dump output
gsmith@[EMAIL PROTECTED]   2008-06-04 20:20:23 
Re: rfc: add pg_dump options to dump output
bruce@[EMAIL PROTECTED]   2008-07-15 21:20:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:19:33 CST 2008.