diff options
Diffstat (limited to 'json.sql.in')
| -rw-r--r-- | json.sql.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/json.sql.in b/json.sql.in index 17b30ca..08c3c9a 100644 --- a/json.sql.in +++ b/json.sql.in @@ -60,12 +60,12 @@ AS 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE; -- not STRICT; allows to_json(NULL) to return 'null'::json. CREATE OR REPLACE FUNCTION json_get(json, json_path text) -RETURNS json +RETURNS text AS 'MODULE_PATHNAME' LANGUAGE C STRICT IMMUTABLE; /* CREATE OR REPLACE FUNCTION json_set(json, json_path text, text) -RETURNS json +RETURNS text AS 'MODULE_PATHNAME' LANGUAGE C STRICT IMMUTABLE; */ |
