Re: 64-bit API for large object - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 64-bit API for large object
Date
Msg-id 14548.1346030883@sss.pgh.pa.us
Whole thread Raw
In response to Re: 64-bit API for large object  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: 64-bit API for large object
List 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 by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Incorrect comment in fe-lobj.c
Next
From: Tom Lane
Date:
Subject: Re: Incorrect comment in fe-lobj.c