mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Add serial comma
This commit is contained in:
@ -1989,7 +1989,7 @@ view_is_auto_updatable(Relation view)
|
||||
return gettext_noop("Views containing HAVING are not automatically updatable.");
|
||||
|
||||
if (viewquery->setOperations != NULL)
|
||||
return gettext_noop("Views containing UNION, INTERSECT or EXCEPT are not automatically updatable.");
|
||||
return gettext_noop("Views containing UNION, INTERSECT, or EXCEPT are not automatically updatable.");
|
||||
|
||||
if (viewquery->cteList != NIL)
|
||||
return gettext_noop("Views containing WITH are not automatically updatable.");
|
||||
|
@ -155,7 +155,7 @@ DETAIL: Views that return columns that are not columns of their base relation a
|
||||
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
|
||||
DELETE FROM ro_view6;
|
||||
ERROR: cannot delete from view "ro_view6"
|
||||
DETAIL: Views containing UNION, INTERSECT or EXCEPT are not automatically updatable.
|
||||
DETAIL: Views containing UNION, INTERSECT, or EXCEPT are not automatically updatable.
|
||||
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
|
||||
UPDATE ro_view7 SET a=a+1;
|
||||
ERROR: cannot update view "ro_view7"
|
||||
|
Reference in New Issue
Block a user