Re: Issue in save and retreive file in postgres - Mailing list pgsql-admin

From Craig Ringer
Subject Re: Issue in save and retreive file in postgres
Date
Msg-id 4FE1E0AD.80405@ringerc.id.au
Whole thread Raw
In response to Issue in save and retreive file in postgres  (Vishwas Dwivedi <vishwas.sd@gmail.com>)
List pgsql-admin
On 06/15/2012 09:16 PM, Vishwas Dwivedi wrote:
Greetings,

I am a software programmer and  working on a .net web application(ASP.NET 4.0, c# ).
I am new to postgres and for my current project I am using postgres as database.


In this need functionality to upload a pdf file  to database and then retrieve it again from database.
I have taken bytea column in my table to store binary file data. I am taking byte array to convert the data.

When I try to retrieve this pdf file from database ,its not working.

Error messages?

What happens instead of what you expect to?

After the save, if you examine the data in the database using psql or PgAdmin-III, what do you see?

What PostgreSQL version are you using?

--
Craig Ringer

pgsql-admin by date:

Previous
From: "Welty, Richard"
Date:
Subject: Re: pg_basebackup blocking all queries with horrible performance
Next
From: Greg Spiegelberg
Date:
Subject: View as front-end to function