mirror of https://github.com/postgres/postgres
Remove unused ParamListInfo argument from ExecRefreshMatView.
Author: Yugo Nagata Discussion: https://postgr.es/m/20240726122630.70e889f63a4d7e26f8549de8@sraoss.co.jp
This commit is contained in:
parent
f5f30c22ed
commit
f683d3a4ca
|
@ -347,7 +347,7 @@ ExecCreateTableAs(ParseState *pstate, CreateTableAsStmt *stmt,
|
|||
if (do_refresh)
|
||||
{
|
||||
RefreshMatViewByOid(address.objectId, false, false,
|
||||
pstate->p_sourcetext, NULL, qc);
|
||||
pstate->p_sourcetext, qc);
|
||||
|
||||
if (qc)
|
||||
qc->commandTag = CMDTAG_SELECT;
|
||||
|
|
|
@ -119,7 +119,7 @@ SetMatViewPopulatedState(Relation relation, bool newstate)
|
|||
*/
|
||||
ObjectAddress
|
||||
ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
||||
ParamListInfo params, QueryCompletion *qc)
|
||||
QueryCompletion *qc)
|
||||
{
|
||||
Oid matviewOid;
|
||||
LOCKMODE lockmode;
|
||||
|
@ -136,7 +136,7 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
|||
NULL);
|
||||
|
||||
return RefreshMatViewByOid(matviewOid, stmt->skipData, stmt->concurrent,
|
||||
queryString, params, qc);
|
||||
queryString, qc);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -160,8 +160,7 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
|||
*/
|
||||
ObjectAddress
|
||||
RefreshMatViewByOid(Oid matviewOid, bool skipData, bool concurrent,
|
||||
const char *queryString, ParamListInfo params,
|
||||
QueryCompletion *qc)
|
||||
const char *queryString, QueryCompletion *qc)
|
||||
{
|
||||
Relation matviewRel;
|
||||
RewriteRule *rule;
|
||||
|
|
|
@ -1688,7 +1688,7 @@ ProcessUtilitySlow(ParseState *pstate,
|
|||
PG_TRY(2);
|
||||
{
|
||||
address = ExecRefreshMatView((RefreshMatViewStmt *) parsetree,
|
||||
queryString, params, qc);
|
||||
queryString, qc);
|
||||
}
|
||||
PG_FINALLY(2);
|
||||
{
|
||||
|
|
|
@ -24,10 +24,9 @@
|
|||
extern void SetMatViewPopulatedState(Relation relation, bool newstate);
|
||||
|
||||
extern ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
||||
ParamListInfo params, QueryCompletion *qc);
|
||||
QueryCompletion *qc);
|
||||
extern ObjectAddress RefreshMatViewByOid(Oid matviewOid, bool skipData, bool concurrent,
|
||||
const char *queryString, ParamListInfo params,
|
||||
QueryCompletion *qc);
|
||||
const char *queryString, QueryCompletion *qc);
|
||||
|
||||
extern DestReceiver *CreateTransientRelDestReceiver(Oid transientoid);
|
||||
|
||||
|
|
Loading…
Reference in New Issue