X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7A5A511F60B4 for ; Wed, 26 Apr 2006 10:41:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 15134-09 for ; Wed, 26 Apr 2006 10:41:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from a2s5.a2hosting.com (host-209-124-50-10.a2webhosting.com [209.124.50.10]) by postgresql.org (Postfix) with ESMTP id 66AEB11F60B0 for ; Wed, 26 Apr 2006 10:41:22 -0300 (ADT) Received: from adsl-153-96-23.tys.bellsouth.net ([70.153.96.23] helo=[192.168.1.10]) by a2s5.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1FYkGc-0007QS-FL; Wed, 26 Apr 2006 09:41:18 -0400 In-Reply-To: <018801c6691e$bf6795d0$cd00000a@sandhyar> References: <018801c6691e$bf6795d0$cd00000a@sandhyar> Mime-Version: 1.0 (Apple Message framework v749.3) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9F7828D7-B334-4722-82D9-CC146F74B991@pgedit.com> Cc: "Postgres" Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: Problem with Large objects of .gif&.asp Date: Wed, 26 Apr 2006 09:40:59 -0400 To: sandhya X-Mailer: Apple Mail (2.749.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.207 tagged_above=0 required=5 tests=AWL, BAYES_00, FORGED_RCVD_HELO, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: X-Archive-Number: 200604/277 X-Sequence-Number: 21446 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