Re: blob size after pg_lo_open

Поиск
Список
Период
Сортировка
От Thom Dyson
Тема Re: blob size after pg_lo_open
Дата
Msg-id OFE8041CEC.C1135DB4-ON88256EEE.004FF6B5-88256EEE.00501F4E@sybex.com
обсуждение исходный текст
Ответ на Re: blob size after pg_lo_open  (ljb <ljb220@mindspring.com>)
Список pgsql-php



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.



В списке pgsql-php по дате отправления:

Предыдущее
От: "Majolee InfoTech"
Дата:
Сообщение: Re: Strange session problem
Следующее
От: Dag Gullberg
Дата:
Сообщение: problem when two or more users access simultaneously?