diff options
author | Álvaro Herrera <alvherre@kurilemu.de> | 2025-04-28 16:25:06 +0200 |
---|---|---|
committer | Álvaro Herrera <alvherre@kurilemu.de> | 2025-04-28 16:25:06 +0200 |
commit | 0e13b13d26e870cb18fe6ecf9f8697ddfcf2c740 (patch) | |
tree | ac9ccb0c9611817be9fcec2e34d57e6ea830e01b /src/backend/access/gist/gistvacuum.c | |
parent | c061000311029d2ef0129ad5eee32e698221d43d (diff) | |
download | postgresql-0e13b13d26e870cb18fe6ecf9f8697ddfcf2c740.tar.gz postgresql-0e13b13d26e870cb18fe6ecf9f8697ddfcf2c740.zip |
Fix pg_dump for inherited validated not-null constraints
When a child constraint is validated and the parent constraint it
derives from isn't, pg_dump must be coerced into printing the child
constraint; failing to do would result in a dump that restores the
constraint as not valid, which would be incorrect.
Co-authored-by: jian he <jian.universality@gmail.com>
Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de>
Reported-by: jian he <jian.universality@gmail.com>
Message-id: https://postgr.es/m/CACJufxGHNNMc0E2JphUqJMzD3=bwRSuAEVBF5ekgkG8uY0Q3hg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions