Re: [HACKERS] Example Custom Scan Provider Implementation?

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: [HACKERS] Example Custom Scan Provider Implementation?
Дата
Msg-id 01b95777-88d8-49eb-bd9e-9a3ab202a9b4@lab.ntt.co.jp
обсуждение исходный текст
Ответ на [HACKERS] Example Custom Scan Provider Implementation?  (Eric Ridge <eebbrr@gmail.com>)
Ответы Re: [HACKERS] Example Custom Scan Provider Implementation?  (Eric Ridge <eebbrr@gmail.com>)
Список pgsql-hackers
On 2017/03/08 7:10, Eric Ridge wrote:
> Hi all!
> 
> Does anyone know of a simple, example Custom Scan Provider implementation
> for 9.6+?
> 
> I found pg_strom by searching GitHub.  Its gpuscan.c looks like maybe it
> implements a pattern similar to what I want to do, but there's a lot of
> extraneous (to me) stuff to parse through.
> 
> I'm kinda surprised there isn't an example in contrib/, actually.

Here you go: https://github.com/kaigai/ctidscan

This was proposed originally [1] to go into contrib/, but that didn't
happen somehow.

Thanks,
Amit

[1]
https://www.postgresql.org/message-id/9A28C8860F777E439AA12E8AEA7694F801091310%40BPXM15GP.gisp.nec.co.jp





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Avoiding OOM in a hash join with many duplicate inner keys
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] WARNING: relcache reference leak: relation "p1" notclosed