postgresql/src
Álvaro Herrera cf8be02253
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 a379061a22.

Author: jian he <jian.universality@gmail.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CACJufxGQM_+vZoYJMaRoZfNyV=L2jxosjv_0TLAScbuLJXWRfQ@mail.gmail.com
2025-11-03 15:58:19 +01:00
..
backend Prevent setting a column as identity if its not-null constraint is invalid 2025-11-03 15:58:19 +01:00
bin Remove WaitPMResult enum in pg_createsubscriber 2025-11-03 12:59:32 +01:00
common Use C11 char16_t and char32_t for Unicode code points. 2025-10-29 14:17:13 -07:00
fe_utils Use C11 char16_t and char32_t for Unicode code points. 2025-10-29 14:17:13 -07:00
include Change "long" numGroups fields to be Cardinality (i.e., double). 2025-11-02 16:57:43 -05:00
interfaces Simplify newline handling in two TAP tests 2025-10-28 08:26:42 +09:00
makefiles Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
pl Avoid memory leak in validation of a PL/Python trigger function. 2025-10-23 14:23:26 -04:00
port Fix POSIX compliance in pgwin32_unsetenv() for "name" argument 2025-10-21 08:05:28 +09:00
template Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
test Prevent setting a column as identity if its not-null constraint is invalid 2025-11-03 15:58:19 +01:00
timezone Generate GUC tables from .dat file 2025-09-03 09:45:17 +02:00
tools Fix some confusing uses of const 2025-10-30 11:20:04 +01:00
tutorial Fix compile of src/tutorial/funcs.c 2025-10-07 10:45:57 +02:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00