agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: achong@cecid.hku.hk
Subject: Re: bytea
Date: Wed, 05 Feb 2003 13:04:17 +0100
Message-ID: <3E40FDC0.56D15B5B@rodos.fzk.de> (raw)

>
> Thanks for your reply. But what I want to do is loading a file of a
particular path with a sql
> statement in psql. Why I need to care about how the file looks like?
Thanks.
>
Because "non-printables" might not be properly escaped.
If they are, just use the SQL COPY command as described in the doc.

Regards, Christoph






view thread (17+ messages)  latest in thread

Message-ID: <3E40FDC0.56D15B5B@rodos.fzk.de>
Permalink:  ../3E40FDC0.56D15B5B@rodos.fzk.de/
Also on:    postgresql.org/message-id/3E40FDC0.56D15B5B@rodos.fzk.de

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: ch@rodos.fzk.de, achong@cecid.hku.hk
  Subject: Re: bytea
  In-Reply-To: <3E40FDC0.56D15B5B@rodos.fzk.de>

* 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