File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1989,7 +1989,7 @@ view_is_auto_updatable(Relation view)
19891989 return gettext_noop ("Views containing HAVING are not automatically updatable." );
19901990
19911991 if (viewquery -> setOperations != NULL )
1992- return gettext_noop ("Views containing UNION, INTERSECT or EXCEPT are not automatically updatable." );
1992+ return gettext_noop ("Views containing UNION, INTERSECT, or EXCEPT are not automatically updatable." );
19931993
19941994 if (viewquery -> cteList != NIL )
19951995 return gettext_noop ("Views containing WITH are not automatically updatable." );
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ DETAIL: Views that return columns that are not columns of their base relation a
155155HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
156156DELETE FROM ro_view6;
157157ERROR: cannot delete from view "ro_view6"
158- DETAIL: Views containing UNION, INTERSECT or EXCEPT are not automatically updatable.
158+ DETAIL: Views containing UNION, INTERSECT, or EXCEPT are not automatically updatable.
159159HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
160160UPDATE ro_view7 SET a=a+1;
161161ERROR: cannot update view "ro_view7"
You can’t perform that action at this time.
0 commit comments