aboutsummaryrefslogtreecommitdiff
path: root/contrib/hstore/hstore_gin.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hstore/hstore_gin.c')
-rw-r--r--contrib/hstore/hstore_gin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/hstore/hstore_gin.c b/contrib/hstore/hstore_gin.c
index 908530261ae..766c00bb6a7 100644
--- a/contrib/hstore/hstore_gin.c
+++ b/contrib/hstore/hstore_gin.c
@@ -118,9 +118,7 @@ gin_extract_hstore_query(PG_FUNCTION_ARGS)
j;
text *item;
- 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);
entries = (Datum *) palloc(sizeof(Datum) * key_count);