From: | Frank Joerdens <frank(at)joerdens(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Does pg_dumpall do BLOBs too? |
Date: | 2002-01-12 15:42:31 |
Message-ID: | 20020112164231.B14188@superfly.archi-me-des.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-jdbc |
On Sat, Jan 12, 2002 at 11:37:36AM +0100, Daniel Lundin wrote:
> On Fri, Jan 11, 2002 at 07:38:01PM +0100, Frank Joerdens wrote:
> > The man page for pg_dumpall does not mention anything about BLOBs,
> > whereas the man page for pg_dump does. Does that mean you can't dump out
> > everything at once if you have databases with BLOBs on your server? (I
> > need to dump and reload everything cuz my new app wants a NAMEDATALEN of
> > 64).
> >
> As I understand it, pg_dumpall calls pg_dump, so if pg_dump backups blobs, so
> would pg_dumpall.
You're right: pg_dumpall is just a shell script that calls pg_dump.
Looks like it wouldn't be too hard to hack actually, which it seems
you'd have to do to get what I want:
--------------------------- begin ---------------------------
frank(at)limedes:~ > pg_dumpall -Ft -b > everything_13_jan_02.out.tar
pg_dump: BLOB output is not supported for plain text dump files. Use a
different output format.
pg_dump failed on template1, exiting
--------------------------- end ---------------------------
The wrapper script doesn't seem to pass the option -Ft to pg_dump so it
doesn't support output formats other than plain text which means you
can't do BLOBs.
I might try to fix this . . .
Regards, Frank
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-01-12 16:18:38 | Re: Documentation change suggestion |
Previous Message | Paul Tomblin | 2002-01-12 12:31:04 | Documentation change suggestion |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-01-12 16:28:28 | Re: Does pg_dumpall do BLOBs too? |
Previous Message | Daniel Lundin | 2002-01-12 10:37:36 | Re: Does pg_dumpall do BLOBs too? |