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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Spiegelberg | 2012-06-20 14:46:44 | View as front-end to function |
Previous Message | Lonni J Friedman | 2012-06-20 14:06:30 | Re: pg_basebackup blocking all queries with horrible performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Emi Lu | 2012-06-20 14:43:08 | Simple method to format a string? |
Previous Message | Craig Ringer | 2012-06-20 14:13:45 | Re: pgstat wait timeout : permission denied |