summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut2020-12-09 14:12:05 +0000
committerPeter Eisentraut2020-12-09 14:41:45 +0000
commit8b069ef5dca97cd737a5fd64c420df3cd61ec1c9 (patch)
tree003a455f78a362610fdced6c4ad8be1ac846ba4d /src/backend/utils/adt/arrayfuncs.c
parent16c302f51235eaec05a1f85a11c1df04ef3a6785 (diff)
Change get_constraint_index() to use pg_constraint.conindid
It was still using a scan of pg_depend instead of using the conindid column that has been added since. Since it is now just a catalog lookup wrapper and not related to pg_depend, move from pg_depend.c to lsyscache.c. Reviewed-by: Matthias van de Meent <[email protected]> Reviewed-by: Tom Lane <[email protected]> Reviewed-by: Michael Paquier <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/4688d55c-9a2e-9a5a-d166-5f24fe0bf8db%40enterprisedb.com
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions