Re: I want the stupidest possible binary export - Mailing list pgsql-general

From David Rysdam
Subject Re: I want the stupidest possible binary export
Date
Msg-id 87d2atrktd.fsf@loud.ll.mit.edu
Whole thread Raw
In response to Re: I want the stupidest possible binary export  (Jov <amutu@amutu.com>)
List pgsql-general
Jov <amutu@amutu.com> writes:
> psql can only input/output text string,which can not be binary content。with
> 9.2,you can encode bytea to base64,save to file,then use shell command to
> decode the file。

This worked, btw. Encoded to base64, piped to sed to fix the newlines,
piped to 'base64 -id' and then to file.

Attachment

pgsql-general by date:

Previous
From: Szymon Guz
Date:
Subject: Re: Why isn't Java support part of Postgresql core?
Next
From: cowwoc
Date:
Subject: Re: Why isn't Java support part of Postgresql core?