diff options
| author | Joey Adams | 2010-07-14 04:37:27 +0000 |
|---|---|---|
| committer | Joey Adams | 2010-07-14 04:37:27 +0000 |
| commit | 6580672c67a36b841663f7eb490d1eb8f965513f (patch) | |
| tree | 0566b38d1d9ecf30e3a66d4f26da4636a3d04f17 | |
| parent | 37abdca05c02fe9bb913c663b02fc9e6caf99d44 (diff) | |
Oops, set json_get to return json before implementing it that way. Reverted.
| -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; */ |
