X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 586044758DC for ; Wed, 5 Feb 2003 04:52:55 -0500 (EST) Received: from ns.csis.hku.hk (ns.csis.hku.hk [147.8.178.10]) by postgresql.org (Postfix) with ESMTP id 85BC0474E44 for ; Wed, 5 Feb 2003 04:52:53 -0500 (EST) Received: from intraflow2.csis.hku.hk (intraflow2 [147.8.176.14]) by ns.csis.hku.hk (8.10.1/8.10.1) with SMTP id h159qri09020 for ; Wed, 5 Feb 2003 17:52:53 +0800 (HKT) Received: (from achongpc [147.8.177.32]) by intraflow2.csis.hku.hk (NAVGW 2.5.1.13) with SMTP id M2003020517520818549 for ; Wed, 05 Feb 2003 17:52:08 +0800 Message-ID: <013001c2ccfc$bcf457f0$20b10893@achongpc> From: "Adrian Chong" To: Subject: bytea Date: Wed, 5 Feb 2003 17:55:39 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/89 X-Sequence-Number: 11487 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