Re: insert pdf

From: Douglas J Hunley <doug(dot)hunley(at)gmail(dot)com>
To: giuliocas <giulio(dot)castagnini(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: insert pdf
Date: 2013-03-12 23:44:20
Message-ID: CALxYTP7Uzyzw2=5U3QE7UsHqSqbE05B7K1jbDKFBVUgjj+Xr8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Mar 12, 2013 at 10:59 AM, giuliocas <giulio(dot)castagnini(at)gmail(dot)com> wrote:
> Hello,
>
> I have a requirement to store pdf files in a db table.
>
> I have a table "state" with columns
> id_state,
> name,
> pdffile (bytea)
>
> I want to store the pdf files in the pdffile column.
> how can i do this.

https://wiki.postgresql.org/wiki/BinaryFilesInDB

--
Douglas J Hunley (doug(dot)hunley(at)gmail(dot)com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3

In response to

  • insert pdf at 2013-03-12 14:59:51 from giuliocas

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message kobolds 2013-03-13 12:44:10 [postgresql 9.2.3] schema and privileges
Previous Message Justus Mugbeh 2013-03-12 19:59:13 Re: message