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