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

Commit9757fb8

Browse files
committed
fix lock_rows_visitor() for non-partitioned tables
1 parent720629c commit9757fb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/utils.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ lock_rows_visitor(Plan *plan, void *context)
108108

109109
/* Select tableoid attributes that must be renamed */
110110
tableoids=get_tableoids_list(lock_child->targetlist);
111-
Assert(tableoids);
111+
if (!tableoids)
112+
return;/* this LockRows has nothing to do with partitioned table */
112113

113114
foreach (lc,lock_rows->rowMarks)
114115
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp