pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix DDL deparse of CREATE OPERATOR CLASS
Date: Fri, 20 May 2022 16:57:50 +0000
Message-ID: <E1ns5wk-000J8p-7b@gemulon.postgresql.org> (raw)

Fix DDL deparse of CREATE OPERATOR CLASS

When an implicit operator family is created, it wasn't getting reported.
Make it do so.

This has always been missing.  Backpatch to 10.

Author: Masahiko Sawada <sawada.mshk@gmail.com>
Reported-by: Leslie LEMAIRE <leslie.lemaire@developpement-durable.gouv.fr>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Michael Paquiër <michael@paquier.xyz>
Discussion: https://postgr.es/m/f74d69e151b22171e8829551b1159e77@developpement-durable.gouv.fr

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/58b088a9b3c2ec19998a3822190afdd6af847efe

Modified Files
--------------
src/backend/commands/opclasscmds.c                    | 19 ++++++++++++++-----
src/backend/tcop/utility.c                            |  6 ++++++
.../modules/test_ddl_deparse/expected/opfamily.out    |  1 +
src/test/regress/expected/event_trigger.out           |  5 +++++
src/test/regress/sql/event_trigger.sql                |  4 ++++
5 files changed, 30 insertions(+), 5 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1ns5wk-000J8p-7b@gemulon.postgresql.org>
Permalink:  ../E1ns5wk-000J8p-7b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ns5wk-000J8p-7b@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix DDL deparse of CREATE OPERATOR CLASS
  In-Reply-To: <E1ns5wk-000J8p-7b@gemulon.postgresql.org>
  References: <E1ns5wk-000J8p-7b@gemulon.postgresql.org>

* 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