Tom

My mistake in not realizing that 8.1 and later can dump large objects in the 
plain text format. I guess when searching for answers to a problem, the posted 
information doesn't always specify the version. So, sorry about that.

But the plain text format still has serious problems in that the generated file 
is large for byte arrays and large objects, there is no ability to selectively 
restore a table, and bad data still isn't detected until you try to restore.

Or did I miss something else?

John

PS: Yes, I know you can pipe the output from pg_dumpall into an archiver, but 
it's my understanding that the binary data is output in an inefficient format 
so even if zipped, the resulting file would be significantly larger than the 
custom format.



On Mon, 25 Aug 2008 12:14:41 -0400, Tom Lane wrote:

>"John T. Dow" <[EMAIL PROTECTED]> writes:
>> If you dump in plain text format, you can at least inspect the dumped
>> data and fix it manually or with iconv. But the plain text
>> format doesn't support large objects (again, not nice).
>
>It does in 8.1 and later ...
>
>> Also, neither of these methods gets information such as the roles,
>
>Use pg_dumpall.
>
>                       regards, tom lane



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to