Re: insert pdf - Mailing list pgsql-novice

From Christian Hammers
Subject Re: insert pdf
Date
Msg-id 192966016.61180.1363256471944.JavaMail.open-xchange@comcenter.netcologne.de
Whole thread Raw
In response to insert pdf  (giuliocas <giulio.castagnini@gmail.com>)
List pgsql-novice
Hello

See pg_read_binary_file().

bye,
-christian-

giuliocas hat am 14. März 2013 um 10:39 geschrieben:
> thank you very much, but what is the SQL command to store binary data using
> bytea?
> can i use simply INSERT INTO (like: INSERT INTO table (pdffile) VALUES
> ('path_to_pdffile_on_server'))?
> because that's not going to work
>
>
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/insert-pdf-tp5748229p5748445.html
> Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice


pgsql-novice by date:

Previous
From: giuliocas
Date:
Subject: Re: insert pdf
Next
From: Christian Hammers
Date:
Subject: Re: How to clean up pg_xlog on StandBy in Stream Replication?