agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Chong <achong@cecid.hku.hk>
To: pgsql-sql@postgresql.org
Subject: bytea
Date: Wed, 5 Feb 2003 17:55:39 +0800
Message-ID: <013001c2ccfc$bcf457f0$20b10893@achongpc> (raw)

Hello,

I have a table containing a field of type bytea:

CREATE TABLE a_table (
    a_field bytea
);

How can I import a file in a SQL script? What function I can use?

Thank you very much.

Adrian



view thread (17+ messages)  latest in thread

Message-ID: <013001c2ccfc$bcf457f0$20b10893@achongpc>
Permalink:  ../013001c2ccfc$bcf457f0$20b10893@achongpc/
Also on:    postgresql.org/message-id/013001c2ccfc$bcf457f0$20b10893@achongpc

reply

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: achong@cecid.hku.hk
  Subject: Re: bytea
  In-Reply-To: <013001c2ccfc$bcf457f0$20b10893@achongpc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox