Re: [PATCH] Extend ALTER OPERATOR to support adding commutator, negator, hashes, and merges
Tommy Pavlicek <tommypav122@gmail.com>
From: Tommy Pavlicek <tommypav122@gmail.com>
To: Christoph Berg <myon@debian.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>, pgsql-hackers@lists.postgresql.org, Tomas Vondra <tomas.vondra@enterprisedb.com>, jian.universality@gmail.com
Date: 2023-10-31T16:10:34Z
Lists: pgsql-hackers
On Fri, Oct 20, 2023 at 5:33 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > Pushed after a round of editorialization -- mostly cosmetic > stuff, except for tweaking some error messages. I shortened the > test cases a bit too, as I thought they were somewhat excessive > to have as a permanent thing. Thanks Tom. On Tue, Oct 24, 2023 at 2:51 PM Christoph Berg <myon@debian.org> wrote: > > Re: Tommy Pavlicek > > I've added another patch (0002-require_unused_neg_com-v1.patch) that > > prevents using a commutator or negator that's already part of a pair. > > Hmm. I agree with the general idea of adding sanity checks, but this > might be overzealous: I can't add much beyond what Tom said, but I think this does go a bit beyond a sanity check. I forgot to mention it in my previous message, but the main reason I noticed this was because the DELETE operator code cleans up commutator and negator links to the operator being deleted and that code expects each to be part of exactly a pair.
Commits
-
Strip Windows newlines from extension script files manually.
- 6cfb3a337469 18.0 landed
-
Read extension script files in text not binary mode.
- 924e03917d6f 18.0 landed
-
Improve reporting of errors in extension script files.
- 774171c4f640 18.0 landed
-
Improve parser's reporting of statement start locations.
- 14e5680eee19 18.0 landed
-
Extend ALTER OPERATOR to allow setting more optimization attributes.
- 2b5154beab79 17.0 landed
-
Core support for "extensions", which are packages of SQL objects.
- d9572c4e3b47 9.1.0 cited