From: | David W Noon <dwnoon(at)ntlworld(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Read binary records |
Date: | 2010-11-17 16:56:44 |
Message-ID: | 20101117165644.0d166f3b@karnak.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 17 Nov 2010 13:56:19 +0100, pasman pasmański wrote about
[GENERAL] Read binary records:
>How to read binary file ?
>I try pg_read_file() but this returns text
>(not bytea) and skip part of record
I have written a set of file processing functions. As far as I'm
concerned that code can be added to the "contrib" modules, if anybody
is interested.
The dwn_read_binary_file() function returns a bytea.
If you want a private copy, contact me off-list.
--
Regards,
Dave [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwnoon(at)ntlworld(dot)com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
From | Date | Subject | |
---|---|---|---|
Next Message | rmd22 | 2010-11-17 17:17:39 | Re: Storing old and new tuple values after an UPDATE, INSERT or DELETE |
Previous Message | Tom Lane | 2010-11-17 16:55:53 | Re: Survey on backing up unlogged tables: help us with PostgreSQL development! |