diff options
| author | Álvaro Herrera <alvherre@kurilemu.de> | 2025-11-03 15:58:19 +0100 |
|---|---|---|
| committer | Álvaro Herrera <alvherre@kurilemu.de> | 2025-11-03 15:58:19 +0100 |
| commit | cf8be022538937fe9fe22de776fb8cfe6460a784 (patch) | |
| tree | fc3357c197fd15fe5907ac18c5ea16a3eec1e06e /src/backend/optimizer/path/joinpath.c | |
| parent | f242dbcede9cb1c2f60ca31e6ad1141e0713bc65 (diff) | |
Prevent setting a column as identity if its not-null constraint is invalid
We don't allow null values to appear in identity-generated columns in
other ways, so we shouldn't let unvalidated not-null constraints do it
either. Oversight in commit a379061a22a8.
Author: jian he <jian.universality@gmail.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CACJufxGQM_+vZoYJMaRoZfNyV=L2jxosjv_0TLAScbuLJXWRfQ@mail.gmail.com
Diffstat (limited to 'src/backend/optimizer/path/joinpath.c')
0 files changed, 0 insertions, 0 deletions
