pgsql: Remove AggregateRelationId from recordExtObjInitPriv()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove AggregateRelationId from recordExtObjInitPriv()
Date: 2023-01-17 19:14:29
Message-ID: E1pHrPg-004AkW-RG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove AggregateRelationId from recordExtObjInitPriv()

This was erroneous, because AggregateRelationId has no OID, so it
cannot be part of an extension directly. (Aggregates are registered
via pg_proc.) No harm in practice, but better to make it correct.

Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/504bc485-6bd6-dd1b-fe10-e7351aeb310d(at)enterprisedb(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/13b345df6438f222daf56eee86cb272628d1f1c3

Modified Files
--------------
src/backend/catalog/aclchk.c | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-01-17 21:01:55 pgsql: AdjustUpgrade.pm should zap test_ext_cine, too.
Previous Message John Naylor 2023-01-17 07:32:17 pgsql: Remove redundant relkind check