diff options
Diffstat (limited to 'src/backend/catalog/system_views.sql')
| -rw-r--r-- | src/backend/catalog/system_views.sql | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/backend/catalog/system_views.sql b/src/backend/catalog/system_views.sql index 793a92b76a..1bde175d45 100644 --- a/src/backend/catalog/system_views.sql +++ b/src/backend/catalog/system_views.sql @@ -817,38 +817,16 @@ CREATE OR REPLACE FUNCTION pg_start_backup(label text, fast boolean DEFAULT false) RETURNS pg_lsn STRICT VOLATILE LANGUAGE internal AS 'pg_start_backup'; +-- legacy definition for compatibility with 9.3 CREATE OR REPLACE FUNCTION json_populate_record(base anyelement, from_json json, use_json_as_text boolean DEFAULT false) RETURNS anyelement LANGUAGE internal STABLE AS 'json_populate_record'; +-- legacy definition for compatibility with 9.3 CREATE OR REPLACE FUNCTION json_populate_recordset(base anyelement, from_json json, use_json_as_text boolean DEFAULT false) RETURNS SETOF anyelement LANGUAGE internal STABLE ROWS 100 AS 'json_populate_recordset'; -CREATE OR REPLACE FUNCTION - jsonb_populate_record(base anyelement, from_json jsonb, use_json_as_text boolean DEFAULT false) - RETURNS anyelement LANGUAGE internal STABLE AS 'jsonb_populate_record'; - -CREATE OR REPLACE FUNCTION - jsonb_populate_recordset(base anyelement, from_json jsonb, use_json_as_text boolean DEFAULT false) - RETURNS SETOF anyelement LANGUAGE internal STABLE ROWS 100 AS 'jsonb_populate_recordset'; - -CREATE OR REPLACE FUNCTION - json_to_record(from_json json, nested_as_text boolean DEFAULT false) - RETURNS record LANGUAGE internal STABLE AS 'json_to_record'; - -CREATE OR REPLACE FUNCTION - json_to_recordset(from_json json, nested_as_text boolean DEFAULT false) - RETURNS SETOF record LANGUAGE internal STABLE ROWS 100 AS 'json_to_recordset'; - -CREATE OR REPLACE FUNCTION - jsonb_to_record(from_json jsonb, nested_as_text boolean DEFAULT false) - RETURNS record LANGUAGE internal STABLE AS 'jsonb_to_record'; - -CREATE OR REPLACE FUNCTION - jsonb_to_recordset(from_json jsonb, nested_as_text boolean DEFAULT false) - RETURNS SETOF record LANGUAGE internal STABLE ROWS 100 AS 'jsonb_to_recordset'; - CREATE OR REPLACE FUNCTION pg_logical_slot_get_changes( IN slot_name name, IN upto_lsn pg_lsn, IN upto_nchanges int, VARIADIC options text[] DEFAULT '{}', OUT location pg_lsn, OUT xid xid, OUT data text) |
