Skip to content

Commit 13b345d

Browse files
committed
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@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/504bc485-6bd6-dd1b-fe10-e7351aeb310d@enterprisedb.com
1 parent 15eb122 commit 13b345d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/catalog/aclchk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@ recordExtObjInitPriv(Oid objoid, Oid classoid)
45104510
ReleaseSysCache(tuple);
45114511
}
45124512
else if (classoid == AccessMethodRelationId ||
4513-
classoid == AggregateRelationId ||
45144513
classoid == CastRelationId ||
45154514
classoid == CollationRelationId ||
45164515
classoid == ConversionRelationId ||

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy