From: John DeSoi <desoi@pgedit.com>
To: sandhya <sandhyar@amiindia.co.in>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: Problem with Large objects of .gif&.asp
Date: Wed, 26 Apr 2006 09:40:59 -0400
Message-ID: <9F7828D7-B334-4722-82D9-CC146F74B991@pgedit.com> (raw)
In-Reply-To: <018801c6691e$bf6795d0$cd00000a@sandhyar>
References: <018801c6691e$bf6795d0$cd00000a@sandhyar>
On Apr 26, 2006, at 6:46 AM, sandhya wrote:
> I have loaded all my files into the database.Files has to open like
> ( html,asp,js,gif etc pages) from the database via a
> webserver.Please explain me whether there will be any problem if i
> open .asp ,.gif files from the DB.
> How to know whether the files what we have loaded into the database
> as large objects are correctly holding the data or not.
> Bocz, I have loaded few .gif files into the DB but when i exported
> it and checked the size , the size of what i have loaded and what i
> am getting is entirely different.
> Please tell me whether Postgres supports for all the files to load
> into DB and retrieve it.
PostgreSQL supports storing files just fine as large objects or in
bytea columns. I think bytea columns are easier to use if you just
want to store and retrieve entire files. If you are not getting the
same file back out, you need to look at your client setup especially
encoding issues.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: desoi@pgedit.com, sandhyar@amiindia.co.in
Subject: Re: Problem with Large objects of .gif&.asp
In-Reply-To: <9F7828D7-B334-4722-82D9-CC146F74B991@pgedit.com>
References: <018801c6691e$bf6795d0$cd00000a@sandhyar> <9F7828D7-B334-4722-82D9-CC146F74B991@pgedit.com>
* 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