projects
/
plantuner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9e19c8c
)
fix MSVS2010 compile problem
author
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 17 Sep 2012 08:40:06 +0000
(12:40 +0400)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 17 Sep 2012 08:40:06 +0000
(12:40 +0400)
plantuner.c
patch
|
blob
|
history
diff --git
a/plantuner.c
b/plantuner.c
index
5ef74dd
..
6fb5bcf
100644
(file)
--- a/
plantuner.c
+++ b/
plantuner.c
@@
-81,11
+81,13
@@
indexesAssign(const char * newval, bool doit, GucSource source, bool isDisable)
foreach(l, namelist)
{
char *curname = (char *) lfirst(l);
foreach(l, namelist)
{
char *curname = (char *) lfirst(l);
- Oid indexOid = RangeVarGetRelid(makeRangeVarFromNameList(stringToQualifiedNameList(curname)),
#if PG_VERSION_NUM >= 90200
#if PG_VERSION_NUM >= 90200
- NoLock,
-#endif
+ Oid indexOid = RangeVarGetRelid(makeRangeVarFromNameList(stringToQualifiedNameList(curname)),
+ NoLock, true);
+#else
+ Oid indexOid = RangeVarGetRelid(makeRangeVarFromNameList(stringToQualifiedNameList(curname)),
true);
true);
+#endif
if (indexOid == InvalidOid)
{
if (indexOid == InvalidOid)
{