Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commite08fdf1

Browse files
committed
Add serial comma
1 parent8730618 commite08fdf1

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
returngettext_noop("Views containing HAVING are not automatically updatable.");
19901990

19911991
if (viewquery->setOperations!=NULL)
1992-
returngettext_noop("Views containing UNION, INTERSECT or EXCEPT are not automatically updatable.");
1992+
returngettext_noop("Views containing UNION, INTERSECT, or EXCEPT are not automatically updatable.");
19931993

19941994
if (viewquery->cteList!=NIL)
19951995
returngettext_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"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp