pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem with Large objects of .gif&.asp
2+ messages / 2 participants
[nested] [flat]

* Problem with Large objects of .gif&.asp
@ 2006-04-26 10:46 sandhya <sandhyar@amiindia.co.in>
  2006-04-26 13:40 ` Re: Problem with Large objects of .gif&.asp John DeSoi <desoi@pgedit.com>
  0 siblings, 1 reply; 2+ messages in thread

From: sandhya @ 2006-04-26 10:46 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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.
Help me.
Thank you
Sandhya

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Problem with Large objects of .gif&.asp
  2006-04-26 10:46 Problem with Large objects of .gif&.asp sandhya <sandhyar@amiindia.co.in>
@ 2006-04-26 13:40 ` John DeSoi <desoi@pgedit.com>
  0 siblings, 0 replies; 2+ messages in thread

From: John DeSoi @ 2006-04-26 13:40 UTC (permalink / raw)
  To: sandhya <sandhyar@amiindia.co.in>; +Cc: pgsql-admin


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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-04-26 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-26 10:46 Problem with Large objects of .gif&.asp sandhya <sandhyar@amiindia.co.in>
2006-04-26 13:40 ` John DeSoi <desoi@pgedit.com>

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