projects
/
plantuner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0913bbb
)
make compile on 9.2
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 11 Sep 2012 11:58:08 +0000
(15:58 +0400)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 11 Sep 2012 11:58:08 +0000
(15:58 +0400)
plantuner.c
patch
|
blob
|
history
diff --git
a/plantuner.c
b/plantuner.c
index
a91bf06
..
5ef74dd
100644
(file)
--- a/
plantuner.c
+++ b/
plantuner.c
@@
-81,7
+81,11
@@
indexesAssign(const char * newval, bool doit, GucSource source, bool isDisable)
foreach(l, namelist)
{
char *curname = (char *) lfirst(l);
- Oid indexOid = RangeVarGetRelid(makeRangeVarFromNameList(stringToQualifiedNameList(curname)), true);
+ Oid indexOid = RangeVarGetRelid(makeRangeVarFromNameList(stringToQualifiedNameList(curname)),
+#if PG_VERSION_NUM >= 90200
+ NoLock,
+#endif
+ true);
if (indexOid == InvalidOid)
{