aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2023-09-01 14:21:27 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2023-09-01 14:21:27 +0200
commite09d763e25dccc40695bc824ddda9abea791d66f (patch)
tree479cecdc55e0e94c3f9430f779285086fc324925 /src/backend/utils/init/postinit.c
parente8d74ad625f7344f6b715254d3869663c1569a51 (diff)
downloadpostgresql-e09d763e25dccc40695bc824ddda9abea791d66f.tar.gz
postgresql-e09d763e25dccc40695bc824ddda9abea791d66f.zip
ATPrepAddPrimaryKey: ignore non-PK constraints
Because of lack of test coverage, this function added by b0e96f311985 wasn't ignoring constraint types other than primary keys, which it should have. Add some lines to a test for it. Reported-by: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/CAMbWs48bc-k_-1fh0dZpAhp_LiR5MfEX9haystmoBboR_4czCQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/init/postinit.c')
0 files changed, 0 insertions, 0 deletions