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

Commit63e2004

Browse files
committed
Fix assertion failure for REFRESH MATERIALIZED VIEW in PL.
This was due to incomplete implementation of rowcount reportingfor RMV, which was due to initial waffling on whether it shouldbe provided. It seems unlikely to be a useful or universallyavailable number as more sophisticated techniques for maintainingmatviews are added, so remove the partial support rather thancompleting it.Per report of Jeevan Chalke, but with a different fix
1 parent2317a63 commit63e2004

File tree

1 file changed

+0
-7
lines changed
  • src/backend/executor

1 file changed

+0
-7
lines changed

‎src/backend/executor/spi.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,13 +2122,6 @@ _SPI_execute_plan(SPIPlanPtr plan, ParamListInfo paramLI,
21222122
if (((CreateTableAsStmt*)stmt)->is_select_into)
21232123
res=SPI_OK_SELINTO;
21242124
}
2125-
elseif (IsA(stmt,RefreshMatViewStmt))
2126-
{
2127-
Assert(strncmp(completionTag,
2128-
"REFRESH MATERIALIZED VIEW ",23)==0);
2129-
_SPI_current->processed=strtoul(completionTag+23,
2130-
NULL,10);
2131-
}
21322125
elseif (IsA(stmt,CopyStmt))
21332126
{
21342127
Assert(strncmp(completionTag,"COPY ",5)==0);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp