Add serial comma

pull/4/head
Peter Eisentraut 13 years ago
parent 8730618458
commit e08fdf1310
  1. 2
      src/backend/rewrite/rewriteHandler.c
  2. 2
      src/test/regress/expected/updatable_views.out

@ -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"

Loading…
Cancel
Save