Re: I want the stupidest possible binary export

From: David Rysdam <drysdam(at)ll(dot)mit(dot)edu>
To: Jov <amutu(at)amutu(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: I want the stupidest possible binary export
Date: 2014-09-18 15:48:46
Message-ID: 87d2atrktd.fsf@loud.ll.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jov <amutu(at)amutu(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message cowwoc 2014-09-18 16:07:52 Re: Why isn't Java support part of Postgresql core?
Previous Message Szymon Guz 2014-09-18 15:37:02 Re: Why isn't Java support part of Postgresql core?