Re: bytea vs. pg_dump

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Bernd Helmle <mailings(at)oopsware(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: bytea vs. pg_dump
Date: 2009-05-05 16:19:05
Message-ID: 4A0066F9.60105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
>
>> Bernd Helmle <mailings(at)oopsware(dot)de> wrote:
>>
>>> Another approach would be to just dump bytea columns in binary
>>> format only (not sure how doable that is, though).
>>>
>
>
>> If that's not doable, perhaps a base64 option for bytea COPY?
>>
>
> I'm thinking plain old pairs-of-hex-digits might be the best
> tradeoff if conversion speed is the criterion. The main problem
> in any case would be to decide how to control the format option.
>
>
>

Yeah. Any ideas on how to do that? I can't think of anything very clean
offhand.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Archana Sundararam 2009-05-05 16:26:47 Re: ALTER TABLE should change respective views
Previous Message Robert Haas 2009-05-05 16:16:32 Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT