pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikita Glukhov <n.gluhov@postgrespro.ru>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nikolay Shaplov <dhyan@nataraj.su>
Cc: Oleg Bartunov <obartunov@gmail.com>
Subject: Re: [PATCH] Opclass parameters
Date: Wed, 11 Sep 2019 01:15:11 +0300
Message-ID: <f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru> (raw)
In-Reply-To: <20190910221401.ebw6kgsb4ziqtqmg@development>
References: <20190903220254.GA22389@alvherre.pgsql>
	<dcb740af-2a93-8785-eb26-a4273029f2fb@postgrespro.ru>
	<20190910220358.6tj37k4v6vyaqac7@development>
	<20190910221401.ebw6kgsb4ziqtqmg@development>


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





view thread (34+ messages)  latest in thread

Message-ID: <f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru>
Permalink:  ../f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru/
Also on:    postgresql.org/message-id/f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: n.gluhov@postgrespro.ru, tomas.vondra@2ndquadrant.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, dhyan@nataraj.su, obartunov@gmail.com
  Subject: Re: [PATCH] Opclass parameters
  In-Reply-To: <f77d6fa1-8d9d-f7c1-eb5e-55ec2c1e2f52@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox