Skip to content

Commit

Permalink
deconstruct_array wants the OID of the element type, not the array type
Browse files Browse the repository at this point in the history
  • Loading branch information
ssinger committed Aug 14, 2013
1 parent d7a19d0 commit 177a52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/slony1_funcs.c
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 177a52b

Please sign in to comment.