refactor: Pass relation OID instead of Relation to createForeignKeyCheckTriggers()
Currently, createForeignKeyCheckTriggers() takes a Relation type as its first argument, but it doesn't use that argument directly. Instead, it fetches the relation OID by calling RelationGetRelid(). Therefore, it would be more consistent with other functions (e.g., createForeignKeyCheckTriggers()) to pass the relation OID directly instead of the whole Relation. Author: Amul Sul <amul....@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/caaj_b962c5acyw9kut_r_er5qs3fugbe4az-sp-vuwps-w-...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ef7a5af77d449ee2b426f627c1f7472740350040 Modified Files -------------- src/backend/commands/tablecmds.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-)