Re: [PATCH] Opclass parameters - Mailing list pgsql-hackers

From Nikita Glukhov
Subject Re: [PATCH] Opclass parameters
Date
Msg-id f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru
Whole thread Raw
In response to Re: [PATCH] Opclass parameters  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Opclass parameters
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Improve performance of NOTIFY over many databases (v2)