postgresql/src/backend/catalog
Peter Eisentraut 8b069ef5dc 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 <boekewurm+postgres@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/4688d55c-9a2e-9a5a-d166-5f24fe0bf8db%40enterprisedb.com
2020-12-09 15:41:45 +01:00
..
.gitignore Remove separate files for the initial contents of pg_(sh)description 2020-01-19 13:54:58 +02:00
Catalog.pm Clarify coding in Catalog::AddDefaultValues. 2020-02-15 15:13:44 -05:00
Makefile Move catalog index declarations 2020-11-07 12:26:24 +01:00
aclchk.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
catalog.c Move catalog index declarations 2020-11-07 12:26:24 +01:00
dependency.c Centralize logic for skipping useless ereport/elog calls. 2020-11-23 19:10:46 -05:00
genbki.pl Don't use custom OID symbols in pg_type.dat, either. 2020-10-29 13:33:38 -04:00
heap.c Track collation versions for indexes. 2020-11-03 01:19:50 +13:00
index.c Provide the OR REPLACE option for CREATE TRIGGER. 2020-11-14 17:05:34 -05:00
indexing.c Use multi-inserts for pg_attribute and pg_shdepend 2020-07-31 10:54:26 +09:00
information_schema.sql Add current substring regular expression syntax 2020-06-29 11:05:00 +02:00
namespace.c Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
objectaccess.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
objectaddress.c Fix some typos 2020-11-14 11:43:10 +09:00
partition.c Plug memory leak in index_get_partition 2020-11-06 22:52:16 -03:00
pg_aggregate.c Remove useless entries for aggregate functions from fmgrtab.c. 2020-11-04 11:25:56 -05:00
pg_cast.c Update copyright year 2020-09-11 12:55:13 -03:00
pg_collation.c Remove pg_collation.collversion. 2020-11-03 00:44:59 +13:00
pg_constraint.c Track collation versions for indexes. 2020-11-03 01:19:50 +13:00
pg_conversion.c Unify drop-by-OID functions 2020-06-09 09:39:46 +02:00
pg_db_role_setting.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_depend.c Change get_constraint_index() to use pg_constraint.conindid 2020-12-09 15:41:45 +01:00
pg_enum.c Fix enum errdetail to mention bytes, not chars 2020-10-27 11:50:18 +01:00
pg_inherits.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_largeobject.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_namespace.c Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
pg_operator.c Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
pg_proc.c Fix list-munging bug that broke SQL function result coercions. 2020-10-19 14:33:09 -04:00
pg_publication.c Fix relcache reference leak 2020-04-11 09:44:14 +02:00
pg_range.c Switch to multi-inserts when registering dependencies for many code paths 2020-09-05 21:33:53 +09:00
pg_shdepend.c Use multi-inserts for pg_depend 2020-09-05 13:52:47 +09:00
pg_subscription.c Review logical replication tablesync code 2020-10-15 11:35:51 -03:00
pg_type.c Fix some typos 2020-11-14 11:43:10 +09:00
sql_feature_packages.txt Cleanup in SQL features files 2020-03-28 08:46:18 +01:00
sql_features.txt Remove undocumented IS [NOT] OF syntax. 2020-11-19 17:39:39 -05:00
storage.c Extend PageIsVerified() to handle more custom options 2020-10-26 09:55:28 +09:00
system_views.sql Track total number of WAL records, FPIs and bytes generated in the cluster. 2020-12-02 13:00:15 +09:00
toasting.c Move catalog toast table declarations 2020-11-07 12:26:24 +01:00