summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Singer2013-08-14 14:46:45 +0000
committerSteve Singer2013-08-14 14:46:45 +0000
commit177a52b0ac417baec4a458072c8bd2657bc9edb8 (patch)
tree7a215ed465076c19e873f6c55bd354a944f6e873
parentd7a19d00cc03160d9abca20722f4059dbc4d7915 (diff)
deconstruct_array wants the OID of the element type, not the array typebug304
-rw-r--r--src/backend/slony1_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/slony1_funcs.c b/src/backend/slony1_funcs.c
index 0051ea34..91792b67 100644
--- a/src/backend/slony1_funcs.c
+++ b/src/backend/slony1_funcs.c
@@ -1046,7 +1046,7 @@ versionFunc(logApply)(PG_FUNCTION_ARGS)
array_holder = DirectFunctionCall2(text_to_array,cmdargs[2],
delim_text);
deconstruct_array(DatumGetArrayTypeP(array_holder),
- TEXTARRAYOID, -1, false, 'i',
+ TEXTOID, -1, false, 'i',
&seqargs, &seqargsnulls, &seqargsn);
}
}