Re: [PATCH] Opclass parameters

From: Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>
To: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nikolay Shaplov <dhyan(at)nataraj(dot)su>, Oleg Bartunov <obartunov(at)gmail(dot)com>
Subject: Re: [PATCH] Opclass parameters
Date: 2019-09-10 22:15:11
Message-ID: f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-09-10 22:18:58 Re: [PATCH] Improve performance of NOTIFY over many databases (v2)
Previous Message Tomas Vondra 2019-09-10 22:14:01 Re: [PATCH] Opclass parameters