From: Craig Ringer <ringerc@ringerc.id.au>
To: Vishwas Dwivedi <vishwas.sd@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Issue in save and retreive file in postgres
Date: Wed, 20 Jun 2012 22:39:41 +0800
Message-ID: <4FE1E0AD.80405@ringerc.id.au> (raw)
In-Reply-To: <CA+UJrGYaKH4Nj07LMFyxDxEKK5B+ZNuxu2p1RZH8Ft0spJ+v9Q@mail.gmail.com>
References: <CA+UJrGYaKH4Nj07LMFyxDxEKK5B+ZNuxu2p1RZH8Ft0spJ+v9Q@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ringerc@ringerc.id.au, vishwas.sd@gmail.com
Subject: Re: Issue in save and retreive file in postgres
In-Reply-To: <4FE1E0AD.80405@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox