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: (view raw or whole thread)
Lists: pgsql-admin

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.

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-2015 The PostgreSQL Global Development Group