Re: Implicitly created operator family not listed by pg_event_trigger_ddl_commands
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: LEMAIRE Leslie (Chargée de mission) - SG/SNUM/UNI/DRC <leslie.lemaire@developpement-durable.gouv.fr>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2022-05-04T10:17:46Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix DDL deparse of CREATE OPERATOR CLASS
- 70f70d7d3f58 10.22 landed
- 6c6ea6ea81eb 11.17 landed
- 6029861916e8 15.0 landed
- 58b088a9b3c2 14.4 landed
- 4492e73a66bf 12.12 landed
- 3753a169e110 13.8 landed
-
Backpatch regression tests added by 2d689babe3cb
- fa51cc86c684 10.22 landed
- daf015fd0c1d 11.17 landed
- ac78cec9811b 12.12 landed
- 99867e727722 13.8 landed
On 2022-May-02, LEMAIRE Leslie (Chargée de mission) - SG/SNUM/UNI/DRC wrote: > As stated in the documentation [1], creating an operator class without > specifying the FAMILY option will create an operator family with the same > name as the new class if it doesn't already exist. In this case, my event > trigger is activated through the "CREATE OPERATOR CLASS" tag as usual, but > pg_event_trigger_ddl_commands() still returns only one row - for the > operator class creation. I would have expected it to list the creation of > the operator family as well. I agree, this looks like an omission somewhere -- the extra object should have been reported. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/