Re: insert pdf

From: Christian Hammers <ch(at)lathspell(dot)de>
To: giulio(dot)castagnini(at)gmail(dot)com, pgsql-novice(at)postgresql(dot)org
Subject: Re: insert pdf
Date: 2013-03-14 10:21:11
Message-ID: 192966016.61180.1363256471944.JavaMail.open-xchange@comcenter.netcologne.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice

Browse pgsql-novice by date

  From Date Subject
Next Message Christian Hammers 2013-03-14 10:26:42 Re: How to clean up pg_xlog on StandBy in Stream Replication?
Previous Message giuliocas 2013-03-14 09:39:24 Re: insert pdf