From: Thom Dyson <TDyson@sybex.com>
To: pgsql-php@postgresql.org
Subject: Re: blob size after pg_lo_open
Date: Thu, 12 Aug 2004 07:35:09 -0700
Message-ID: <OFE8041CEC.C1135DB4-ON88256EEE.004FF6B5-88256EEE.00501F4E@sybex.com> (raw)
In-Reply-To: <cfeg7h$1lt7$1@news.hub.org>
Thanks. Glad I wasn't missing anything obvious.
I need content length so that browsers get a progress meter. Working on an
application to sell downloads around 2 - 4 Mb.
Thom Dyson
Director of Information Services
Sybex, Inc.
pgsql-php-owner@postgresql.org wrote on 08/11/2004 06:13:21 PM:
> TDyson@sybex.com wrote:
I've tried using PHP's fstat to return the size, but I think the
> > object returned by pg_lo_open is not suitable.
> No, you can't use fstat() on a large object handle.
> I've hardly ever bothered with Content-length. There is probably some
> advantage to using it but I don't know what it might be.
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-php@postgresql.org
Cc: TDyson@sybex.com
Subject: Re: blob size after pg_lo_open
In-Reply-To: <OFE8041CEC.C1135DB4-ON88256EEE.004FF6B5-88256EEE.00501F4E@sybex.com>
References: <cfeg7h$1lt7$1@news.hub.org> <OFE8041CEC.C1135DB4-ON88256EEE.004FF6B5-88256EEE.00501F4E@sybex.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