aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-10-04 11:37:20 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-10-04 11:40:10 -0300
commitff347f8aff04865680c19ffc818460bb2afaad5b (patch)
tree05f80cba287006196800e03cf0efd45695f5063d /contrib/jsonb_plpython/jsonb_plpython.c
parente97c4d967ba500c7ec427a56467440f036127158 (diff)
downloadpostgresql-ff347f8aff04865680c19ffc818460bb2afaad5b.tar.gz
postgresql-ff347f8aff04865680c19ffc818460bb2afaad5b.zip
Fix duplicate primary keys in partitions
When using the CREATE TABLE .. PARTITION OF syntax, it's possible to cause a partition to get two primary keys if the parent already has one. Tighten the check to disallow that. Reported-by: Rajkumar Raghuwanshi Author: Amul Sul Discussion: https://postgr.es/m/CAKcux6=OnSV3-qd8Gb6W=KPPwcCz6Fe_O_MQYjTa24__Xn8XxA@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython.c')
0 files changed, 0 insertions, 0 deletions