Re: Re: Large Objects - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: Large Objects
Date
Msg-id 26639.969634483@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: Large Objects  (Adam Haberlach <adam@newsnipple.com>)
List pgsql-general
Adam Haberlach <adam@newsnipple.com> writes:
>     On that note, since it seems that the large objects that I've
> just started using aren't likely to go away right this moment (and
> their interface works for what I'm doing anyway), what is a good way
> to write backend functions in C that will deal with large objects?

Call the routines in src/backend/libpq/be-fsstubs.c, which are the
backend support for lo_read and so forth.

Note that these routines are changing to "new function manager" call
style in 7.1, so you will need to tweak your calling code when you
update...

            regards, tom lane

pgsql-general by date:

Previous
From: Denis Perchine
Date:
Subject: Re: Re: Large Objects
Next
From: John McKown
Date:
Subject: Re: one more word about rules