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
|