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

Re: Issue in save and retreive file in postgres

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Vishwas Dwivedi <vishwas(dot)sd(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Issue in save and retreive file in postgres
Date: 2012-06-20 14:39:41
Message-ID: 4FE1E0AD.80405@ringerc.id.au (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-general
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 <http://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

In response to

Responses

pgsql-admin by date

Next:From: Greg SpiegelbergDate: 2012-06-20 14:46:44
Subject: View as front-end to function
Previous:From: Lonni J FriedmanDate: 2012-06-20 14:06:30
Subject: Re: pg_basebackup blocking all queries with horrible performance

pgsql-general by date

Next:From: Emi LuDate: 2012-06-20 14:43:08
Subject: Simple method to format a string?
Previous:From: Craig RingerDate: 2012-06-20 14:13:45
Subject: Re: pgstat wait timeout : permission denied

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