postgres.git / summary / log / commit / refs
commit 037cc13f413de8d1d7e332e441d5d71451f2d336
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri May 14 21:36:20 2021 +0000
First released in: 10.18, 11.13, 12.8, 13.4
Doc: correct erroneous entry in this week's minor release notes.
The patch to disallow a NULL specification in combination with
GENERATED ... AS IDENTITY applied to both ALWAYS and BY DEFAULT
variants of that clause, not only the former.
Noted by Shay Rojansky.
Discussion: https://postgr.es/m/CADT4RqAwD3A=RvGiQU9AiTK-6VeuXcycwPHmJPv_OBCJFYOEww@mail.gmail.com
doc/src/sgml/release-11.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/release-11.sgml b/doc/src/sgml/release-11.sgml
index c3beb9fd0c6..8beea2fdba9 100644
--- a/doc/src/sgml/release-11.sgml
+++ b/doc/src/sgml/release-11.sgml
@@ -172,7 +172,7 @@ Branch: REL_10_STABLE [e5794cd59] 2021-03-12 11:08:42 -0500
</para>
<para>
- <literal>GENERATED ALWAYS AS IDENTITY</literal> implies <literal>NOT
+ <literal>GENERATED ... AS IDENTITY</literal> implies <literal>NOT
NULL</literal>, so don't allow it to be combined with an
explicit <literal>NULL</literal> specification.
</para>
[parent: d776045eb12a]