postgresql/src
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
..
backend Change get_constraint_index() to use pg_constraint.conindid 2020-12-09 15:41:45 +01:00
bin Fix more race conditions in the newly-added pg_rewind test. 2020-12-07 14:50:20 +02:00
common Simplify code for getting a unicode codepoint's canonical class. 2020-12-09 13:24:38 +09:00
fe_utils Remove incorrect %s in string 2020-11-09 10:38:22 +01:00
include Change get_constraint_index() to use pg_constraint.conindid 2020-12-09 15:41:45 +01:00
interfaces Move SHA2 routines to a new generic API layer for crypto hashes 2020-12-02 10:37:20 +09:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Don't use custom OID symbols in pg_type.dat, either. 2020-10-29 13:33:38 -04:00
port Remove ability to independently select random number generator 2020-11-20 13:57:33 +01:00
template On macOS, use -isysroot in link steps as well as compile steps. 2020-11-20 00:07:09 -05:00
test Improve estimation of ANDs under ORs using extended statistics. 2020-12-08 20:10:11 +00:00
timezone Update time zone data files to tzdata release 2020d. 2020-10-22 21:23:47 -04:00
tools Change SHA2 implementation based on OpenSSL to use EVP digest routines 2020-12-04 10:49:23 +09:00
tutorial Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00