Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group