From: Oliver Nolden <oliver_nol@yahoo.de>
To: pgsql-sql@postgresql.org
Subject: How to insert values in bytea?
Date: Fri, 24 Sep 2004 17:39:53 +0200 (CEST)
Message-ID: <20040924153953.76946.qmail@web25301.mail.ukl.yahoo.com> (raw)
Hi everyone,
I have a table with a bytea-column:
CREATE TABLE picture(
id int primary key,
preview bytea NOT NULL);
How can I insert a value in the bytea-column
'preview'? The function 'lo_import()' does only work
for oid. But what is about bytea?
If somebody has any suggestions or ideas, that would
be great.
Thanks a lot in advance,
Oliver
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: oliver_nol@yahoo.de
Subject: Re: How to insert values in bytea?
In-Reply-To: <20040924153953.76946.qmail@web25301.mail.ukl.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox