8000 Add serial comma · postgrespro/postgres_cluster@e08fdf1 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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"
< 30DC div class="d-flex flex-items-center flex-justify-between">

0 commit comments

Comments
 (0)
0