Re: Allow substitute allocators for PGresult.

Поиск
Список
Период
Сортировка
От Kyotaro HORIGUCHI
Тема Re: Allow substitute allocators for PGresult.
Дата
Msg-id 20111201.191804.237535571.horiguchi.kyotaro@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Allow substitute allocators for PGresult.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@oss.ntt.co.jp>)
Список pgsql-hackers
Hello, 

me> I'll put further thought into dblink-plus taking it into
me> account.
..
me> Please let me have a little more time.

I've inquired the developer of dblink-plus about
RegisterResourceReleaseCallback(). He said that the function is
in bad compatibility with current implementation. In addition to
this, storing into tuplestore directly seems to me a good idea
than palloc'ed PGresult.

So I tried to make libpq/PGresult be able to handle alternative
tuple store by hinting to PGconn, and modify dblink to use the
mechanism as the first sample code.

I will show it as a series of patches in next message.

regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


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

Предыдущее
От: jesper@krogh.cc
Дата:
Сообщение: Re: Accounting for toast in query planner. (gin/gist indexes).
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Allow substitute allocators for PGresult.