Re: 64-bit API for large object

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 64-bit API for large object
Дата
Msg-id 14548.1346030883@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 64-bit API for large object  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: 64-bit API for large object
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> Here are the list of functions think we need to change.

> 1) Frontend lo_* libpq functions(fe-lobj.c)

> lo_initialize() need to get backend 64-bit large object handling
> function's oid, namely lo_lseek64, lo_tell64, lo_truncate64, loread64,
> lowrite64(explained later). If they are not available, use older
> 32-bit backend functions.

I don't particularly see a need for loread64 or lowrite64.  Who's going
to be reading or writing more than 2GB at once?  If someone tries,
they'd be well advised to reconsider their code design anyway.
        regards, tom lane



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Incorrect comment in fe-lobj.c
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incorrect comment in fe-lobj.c