Reg: Insert bytea values in to table

From: Hariraman Jayaraj <hariraman(dot)ocp(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Reg: Insert bytea values in to table
Date: 2012-01-06 07:03:54
Message-ID: CAGy0TfdQssqMBt_O5PiS5vOqgEH1EyLe+WkHkjW-P2zi0GOV=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Postgres Version - 8.3
OS - Suse Linux 11 Enterprise Edition

I have a requirement to store pdf files in db. I am suggested to use bytea
data type to achieve this.

I am having an table *ledger* with columns *
id bigint,
pdffile bytea

*I want to store the pdf files in the pdffile column.
Kindly suggest me how to do this.
Thanks in advance.

--
Regards,
Hariraman Jayaraj
Mobile - 9786228845

Browse pgsql-admin by date

  From Date Subject
Next Message Misa Simic 2012-01-06 08:39:21 Re: Reg: Insert bytea values in to table
Previous Message Guillaume Lelarge 2012-01-05 21:42:55 Re: Postgres 9.1 client authentication for local, no password required?