Re: [PATCH] Opclass parameters

Nikita Glukhov <n.gluhov@postgrespro.ru>

From: Nikita Glukhov <n.gluhov@postgrespro.ru>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Nikolay Shaplov <dhyan@nataraj.su>, Oleg Bartunov <obartunov@gmail.com>
Date: 2019-09-10T22:15:11Z
Lists: pgsql-hackers
On 11.09.2019 1:14, Tomas Vondra wrote:
>
> BTW, is there a place where we actually verify the signature of the 
> new am
> proc? Because I only see code like this:
>
> +    case OPCLASS_OPTIONS_PROC:
> +        ok = true;
> +        break;
>
> in all "validate" functions.


See assignProcTypes() at src/backend/commands/opclasscmds.c

-- 
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Commits

  1. Documentation corrections for opclass parameters

  2. Implement operator class parameters