Skip site navigation (1) Skip section navigation (2)

Re: async fast-path calls?

From: yamt(at)mwd(dot)biglobe(dot)ne(dot)jp (YAMAMOTO Takashi)
To: schmiddy(at)gmail(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: async fast-path calls?
Date: 2011-01-16 23:58:20
Message-ID: 20110116235820.91F2719CE7D@mail.netbsd.org (view raw or flat)
Thread:
Lists: pgsql-novice
hi,

> On Sat, Jan 15, 2011 at 8:17 AM, YAMAMOTO Takashi
> <yamt(at)mwd(dot)biglobe(dot)ne(dot)jp> wrote:
>> hi,
>>
>> i workarounded this by using PQsendQuery with eg. "select lowrite($1,$2)".
>> while it seems to work, i wonder if it's ok to use these functions this way,
>> given that only some of large object server-side functions are documented
>> in http://www.postgresql.org/docs/9.0/interactive/lo-funcs.html.
> 
> lo_write() is documented here:
> http://www.postgresql.org/docs/current/static/lo-interfaces.html#LO-WRITE
> 
> I think it's not on the page you linked to because it is not callable
> via SQL, only via libpq.

why not?  will it likely be changed for future versions in an
incompatible manner?  connecting to a newer server using an old libpq
is not supported either?

YAMAMOTO Takashi

> 
> Josh

In response to

pgsql-novice by date

Next:From: YAMAMOTO TakashiDate: 2011-01-17 00:00:07
Subject: tuple concurrently updated
Previous:From: Josh KupershmidtDate: 2011-01-16 17:15:49
Subject: Re: async fast-path calls?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group