From sandhyar@amiindia.co.in Wed Apr 26 10:41:39 2006 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4F74F11F6026 for ; Wed, 26 Apr 2006 07:41:39 -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 85880-03 for ; Wed, 26 Apr 2006 07:40:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from venus.amiindia.co.in (unknown [203.199.198.234]) by postgresql.org (Postfix) with ESMTP id 8596111F60AF for ; Wed, 26 Apr 2006 07:39:55 -0300 (ADT) Received: from venus.amiindia.co.in (localhost.localdomain [127.0.0.1]) by venus.amiindia.co.in (8.12.11/8.12.11) with ESMTP id k3QAXHLl026793 for ; Wed, 26 Apr 2006 16:03:17 +0530 Received: from sandhyar (unknown [10.0.0.205])by venus.amiindia.co.in (Postfix) with ESMTP id 0CBEF33266Cfor ; Wed, 26 Apr 2006 16:03:17 +0530 (IST) Message-ID: <018801c6691e$bf6795d0$cd00000a@sandhyar> From: "sandhya" To: "Postgres" Subject: Problem with Large objects of .gif&.asp Date: Wed, 26 Apr 2006 16:16:59 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0185_01C6694C.D897DD20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-imss-version: 2.5 X-imss-result: Passed X-imss-scores: Clean:35.67779 C:21 M:2 S:5 R:5 X-imss-settings: Baseline:5 C:3 M:3 S:4 R:3 (0.2500 0.7500) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.217 tagged_above=0 required=5 tests=AWL, BAYES_00, HTML_40_50, HTML_MESSAGE, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL, UNPARSEABLE_RELAY X-Spam-Level: * X-Archive-Number: 200604/275 X-Sequence-Number: 21444 This is a multi-part message in MIME format. ------=_NextPart_000_0185_01C6694C.D897DD20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0185_01C6694C.D897DD20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have loaded all my files into the = database.Files has to=20 open like( html,asp,js,gif etc pages) from the = database via a=20 webserver.Please explain me whether there will be = any=20 problem if i open .asp ,.gif files from the DB.
How to know whether the files what we have loaded = into the=20 database as large objects are correctly holding the data or = not.
Bocz, I have loaded few .gif files into the DB but = when i=20 exported it and checked the size , the size of what i have loaded = and what=20 i am getting is entirely different.
Please tell me whether Postgres supports for all the = files to=20 load into DB and retrieve it.
Help me.
Thank you
Sandhya
------=_NextPart_000_0185_01C6694C.D897DD20-- From desoi@pgedit.com Wed Apr 26 13:41:43 2006 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