File tree 2 files changed +2
-2
lines changed
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)
1989
1989
return gettext_noop ("Views containing HAVING are not automatically updatable." );
1990
1990
1991
1991
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." );
1993
1993
1994
1994
if (viewquery -> cteList != NIL )
1995
1995
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
155
155
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
156
156
DELETE FROM ro_view6;
157
157
ERROR: 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.
159
159
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
160
160
UPDATE ro_view7 SET a=a+1;
161
161
ERROR: cannot update view "ro_view7"
You can’t perform that action at this time.
0 commit comments