aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2011-02-08 12:23:20 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2011-02-08 12:23:20 +0000
commit722bf7017bbe796decc79c1fde03e7a83dae9ada (patch)
tree94145fc7a78c140f753d856bae8edf54bcce93b3 /src/backend/utils/adt/arrayfuncs.c
parent7202ad7b8dd07864092be70287fe971ec72a3fbc (diff)
downloadpostgresql-722bf7017bbe796decc79c1fde03e7a83dae9ada.tar.gz
postgresql-722bf7017bbe796decc79c1fde03e7a83dae9ada.zip
Extend ALTER TABLE to allow Foreign Keys to be added without initial validation.
FK constraints that are marked NOT VALID may later be VALIDATED, which uses an ShareUpdateExclusiveLock on constraint table and RowShareLock on referenced table. Significantly reduces lock strength and duration when adding FKs. New state visible from psql. Simon Riggs, with reviews from Marko Tiikkaja and Robert Haas
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions