Re: [v9.5] Custom Plan API

From: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>, Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, PgHacker <pgsql-hackers(at)postgresql(dot)org>, Jim Mlodgenski <jimmy76(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: [v9.5] Custom Plan API
Date: 2014-10-01 21:08:43
Message-ID: CADyhKSUBxEbh5E9mjGp6xkkSwOhGSnJ0hMjcvMOqvdxqJUCqQQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2014-10-02 0:41 GMT+09:00 Merlin Moncure <mmoncure(at)gmail(dot)com>:
> On Tue, Jul 8, 2014 at 6:55 AM, Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com> wrote:
>> * Syntax also reflects what the command does more. New syntax to
>> define custom plan provider is:
>> CREATE CUSTOM PLAN PROVIDER <cpp_name>
>> FOR <cpp_class> HANDLER <cpp_function>;
>
> -1 on 'cpp' prefix. I don't see acronyms used in the syntax
> documentation and cpp will make people reflexively think 'c++'. How
> about <provider_name> and <provider_function>?
>
It is not a living code. I already eliminated the SQL syntax portion,
instead of the internal interface (register_custom_path_provider)
that registers callbacks on extension load time.

Thanks,
--
KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bogdan Pilch 2014-10-01 21:18:46 Re: Time measurement format - more human readable
Previous Message Stephen Frost 2014-10-01 20:56:46 Re: pg_background (and more parallelism infrastructure patches)