aboutsummaryrefslogtreecommitdiff
path: root/contrib/hstore_plpython/hstore_plpython.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hstore_plpython/hstore_plpython.c')
-rw-r--r--contrib/hstore_plpython/hstore_plpython.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hstore_plpython/hstore_plpython.c b/contrib/hstore_plpython/hstore_plpython.c
index b184324ebf0..22366bd40f7 100644
--- a/contrib/hstore_plpython/hstore_plpython.c
+++ b/contrib/hstore_plpython/hstore_plpython.c
@@ -85,7 +85,7 @@ PG_FUNCTION_INFO_V1(hstore_to_plpython);
Datum
hstore_to_plpython(PG_FUNCTION_ARGS)
{
- HStore *in = PG_GETARG_HS(0);
+ HStore *in = PG_GETARG_HSTORE_P(0);
int i;
int count = HS_COUNT(in);
char *base = STRPTR(in);