[COMMITTERS] pgsql: Fix violations of CatalogTupleInsert/Update/Delete abstraction. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix violations of CatalogTupleInsert/Update/Delete abstraction.
Date
Msg-id E1dL9G1-0007OI-GT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix violations of CatalogTupleInsert/Update/Delete abstraction.

In commits 2f5c9d9c9 and ab0289651 we invented an abstraction layer
to insulate catalog manipulations from direct heap update calls.
But evidently some patches that hadn't landed in-tree at that point
didn't get the memo completely.  Fix a couple of direct calls to
simple_heap_delete to use CatalogTupleDelete instead; these appear
to have been added in commits 7c4f52409 and 7b504eb28.  This change is
purely cosmetic ATM, but there's no point in having an abstraction layer
if we allow random code to break it.

Masahiko Sawada and Tom Lane

Discussion: https://postgr.es/m/CAD21AoDOPRSVcwbnCN3Y1n_68ATyTspsU6=ygtHz_uY0VcdZ8A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a571c7f661a7b601aafcb12196d004cdb8b8cb23

Modified Files
--------------
src/backend/catalog/pg_subscription.c | 2 +-
src/backend/commands/statscmds.c      | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: [COMMITTERS] pgsql: Teach PL/pgSQL about partitioned tables.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix no-longer-valid shortcuts in expression_returns_set().