pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dumpall and output formats?
4+ messages / 3 participants
[nested] [flat]
* pg_dumpall and output formats?
@ 2002-08-19 16:16 John Madden <jmadden@ivytech.edu>
2002-08-19 20:46 ` Re: pg_dumpall and output formats? Robert Treat <xzilla@users.sourceforge.net>
0 siblings, 1 reply; 4+ messages in thread
From: John Madden @ 2002-08-19 16:16 UTC (permalink / raw)
To: pgsql-admin
When trying to dump all of our databases,
pg_dumpall -b -o -F t --f full_pgbackup.tar
We're getting:
pg_dump: large object output is not supported for plain text dump files.
pg_dump: (Use a different output format.)
So it would seem that the "-F t" isn't getting passed to pg_dump. The
option set does work fine when using pg_dump alone on a single database.
What am I doing wrong here?
Thanks,
John
--
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivytech.edu
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dumpall and output formats?
2002-08-19 16:16 pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
@ 2002-08-19 20:46 ` Robert Treat <xzilla@users.sourceforge.net>
2002-08-19 20:54 ` Re: pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
0 siblings, 1 reply; 4+ messages in thread
From: Robert Treat @ 2002-08-19 20:46 UTC (permalink / raw)
To: John Madden <jmadden@ivytech.edu>; +Cc: pgsql-admin
*pg_dumpall* doesn't support large objects
pg_dumpall [-c | --clean] [-g | --globals-only] [-h host] [-p port] [-U
username] [-W]
But note a limitation: it cannot dump "large objects", since pg_dump
cannot dump such objects into text files. If you have databases
containing large objects, they should be dumped using one of pg_dump's
non-text output modes.
http://www.postgresql.org/idocs/index.php?app-pg-dumpall.html
You'll need to dump that db explicitly with pg_dump.
Robert Treat
On Mon, 2002-08-19 at 12:16, John Madden wrote:
> When trying to dump all of our databases,
>
>
> pg_dumpall -b -o -F t --f full_pgbackup.tar
>
>
> We're getting:
>
>
> pg_dump: large object output is not supported for plain text dump files.
> pg_dump: (Use a different output format.)
>
>
> So it would seem that the "-F t" isn't getting passed to pg_dump. The
> option set does work fine when using pg_dump alone on a single database.
> What am I doing wrong here?
>
> Thanks,
> John
>
>
>
>
>
> --
> John Madden
> UNIX Systems Engineer
> Ivy Tech State College
> jmadden@ivytech.edu
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dumpall and output formats?
2002-08-19 16:16 pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
2002-08-19 20:46 ` Re: pg_dumpall and output formats? Robert Treat <xzilla@users.sourceforge.net>
@ 2002-08-19 20:54 ` John Madden <jmadden@ivytech.edu>
2002-08-20 02:20 ` Re: pg_dumpall and output formats? Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: John Madden @ 2002-08-19 20:54 UTC (permalink / raw)
To: xzilla@users.sourceforge.net; +Cc: pgsql-admin
> *pg_dumpall* doesn't support large objects
>
> pg_dumpall [-c | --clean] [-g | --globals-only] [-h host] [-p port] [-U
> username] [-W]
Ah, but aren't "all other options" supposed to be passed to pg_dump?
That's what I absorbed from the docs.
> You'll need to dump that db explicitly with pg_dump.
Righto. I don't actually *use* large objects atm, but I'm writing a
backup script that I'd like to have support future DB's that might.
Thanks,
John
--
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivytech.edu
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dumpall and output formats?
2002-08-19 16:16 pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
2002-08-19 20:46 ` Re: pg_dumpall and output formats? Robert Treat <xzilla@users.sourceforge.net>
2002-08-19 20:54 ` Re: pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
@ 2002-08-20 02:20 ` Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2002-08-20 02:20 UTC (permalink / raw)
To: John Madden <jmadden@ivytech.edu>; +Cc: xzilla@users.sourceforge.net; pgsql-admin
John Madden wrote:
> > *pg_dumpall* doesn't support large objects
> >
> > pg_dumpall [-c | --clean] [-g | --globals-only] [-h host] [-p port] [-U
> > username] [-W]
>
> Ah, but aren't "all other options" supposed to be passed to pg_dump?
> That's what I absorbed from the docs.
>
> > You'll need to dump that db explicitly with pg_dump.
>
> Righto. I don't actually *use* large objects atm, but I'm writing a
> backup script that I'd like to have support future DB's that might.
7.3 will properly throw an error if you try to use -F with pg_dumpall.
The 7.2 documentation mentions -f and -t as not supported but doesn't
mention -F. 7.3 will mention that too.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-08-20 02:20 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-19 16:16 pg_dumpall and output formats? John Madden <jmadden@ivytech.edu>
2002-08-19 20:46 ` Robert Treat <xzilla@users.sourceforge.net>
2002-08-19 20:54 ` John Madden <jmadden@ivytech.edu>
2002-08-20 02:20 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox