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

Commite80ac8e

Browse files
author
Artur Zakirov
committed
Do not show warning for sr_plan if table sr_plans doesn't exist
1 parent8fed952 commite80ac8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎contrib/sr_plan/sr_plan.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ PlannedStmt *sr_planner(Query *parse,
8585
/* First check existance of "sr_plans" table */
8686
sr_plans_oid=RangeVarGetRelid(sr_plans_table_rv,heap_lock, true);
8787
if (!OidIsValid(sr_plans_oid))
88-
{
89-
elog(WARNING,"Not found sr_plans table");
88+
/* Just call standard_planner() if table doesn't exist. */
9089
returnstandard_planner(parse,cursorOptions,boundParams);
91-
}
9290

9391
/* Table "sr_plans" exists */
9492
sr_plans_heap=heap_open(sr_plans_oid,NoLock);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp