Example Custom Scan Provider Implementation?

Started by Eric Ridgealmost 9 years ago3 messages
#1Eric Ridge
eebbrr@gmail.com

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.

Thanks for your time!

eric

#2Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Eric Ridge (#1)
Re: Example Custom Scan Provider Implementation?

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]/messages/by-id/9A28C8860F777E439AA12E8AEA7694F801091310@BPXM15GP.gisp.nec.co.jp to go into contrib/, but that didn't
happen somehow.

Thanks,
Amit

[1]: /messages/by-id/9A28C8860F777E439AA12E8AEA7694F801091310@BPXM15GP.gisp.nec.co.jp
/messages/by-id/9A28C8860F777E439AA12E8AEA7694F801091310@BPXM15GP.gisp.nec.co.jp

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Eric Ridge
eebbrr@gmail.com
In reply to: Amit Langote (#2)
Re: Example Custom Scan Provider Implementation?

On Tue, Mar 7, 2017 at 6:39 PM Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
wrote:

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

Thanks for the link, Amit! I think that'll get me bootstrapped!

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

happen somehow.

Too bad. :(

eric