diff options
Diffstat (limited to 'contrib/hstore/hstore_gist.c')
-rw-r--r-- | contrib/hstore/hstore_gist.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/hstore/hstore_gist.c b/contrib/hstore/hstore_gist.c index 016bfa4a4c0..39ba92a6bf4 100644 --- a/contrib/hstore/hstore_gist.c +++ b/contrib/hstore/hstore_gist.c @@ -560,9 +560,7 @@ ghstore_consistent(PG_FUNCTION_ARGS) int key_count; int i; - deconstruct_array(query, - TEXTOID, -1, false, TYPALIGN_INT, - &key_datums, &key_nulls, &key_count); + deconstruct_array_builtin(query, TEXTOID, &key_datums, &key_nulls, &key_count); for (i = 0; res && i < key_count; ++i) { @@ -583,9 +581,7 @@ ghstore_consistent(PG_FUNCTION_ARGS) int key_count; int i; - deconstruct_array(query, - TEXTOID, -1, false, TYPALIGN_INT, - &key_datums, &key_nulls, &key_count); + deconstruct_array_builtin(query, TEXTOID, &key_datums, &key_nulls, &key_count); res = false; |