Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e08fdf1

Browse files
committed
Add serial comma
1 parent 8730618 commit e08fdf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/rewrite/rewriteHandler.c

+1-1
Original file line numberDiff line numberDiff 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.");

src/test/regress/expected/updatable_views.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ DETAIL: Views that return columns that are not columns of their base relation a
155155
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
156156
DELETE FROM ro_view6;
157157
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.
159159
HINT: To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule or an INSTEAD OF DELETE trigger.
160160
UPDATE ro_view7 SET a=a+1;
161161
ERROR: cannot update view "ro_view7"

0 commit comments

Comments
 (0)