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

Commit0d17974

Browse files
author
Vladimir Ershov
committed
put back save plan
1 parent6e38c0f commit0d17974

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎sr_plan.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ PlannedStmt *sr_planner(Query *parse,
124124
Datumsearch_values[6];
125125
staticboolsearch_nulls[6]= {false, false, false, false, false, false};
126126
boolfind_ok= false;
127-
LOCKMODEheap_lock=RowExclusiveLock;/*AccessShareLock;*/
127+
LOCKMODEheap_lock=AccessShareLock;
128128
Oidquery_index_rel_oid;
129129
Oidsr_plans_oid;
130130
Oidschema_oid;
@@ -133,8 +133,8 @@ PlannedStmt *sr_planner(Query *parse,
133133
ScanKeyDatakey;
134134
List*func_name_list;
135135

136-
if(!sr_plan_write_mode)
137-
returnstandard_planner(parse,cursorOptions,boundParams);
136+
if(sr_plan_write_mode)
137+
heap_lock=RowExclusiveLock;
138138

139139
schema_oid=get_sr_plan_schema();
140140
if(!OidIsValid(schema_oid))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp