mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Update xml_1.out and xml_2.out
Commit 0fbf01120023 should have updated them but didn't.
This commit is contained in:
parent
12e423e21d
commit
62221ef187
@ -873,6 +873,9 @@ EXPLAIN (COSTS OFF, VERBOSE) SELECT * FROM xmltableview1;
|
||||
Table Function Call: XMLTABLE(('/ROWS/ROW'::text) PASSING (xmldata.data) COLUMNS id integer PATH ('@id'::text), _id FOR ORDINALITY, country_name text PATH ('COUNTRY_NAME/text()'::text) NOT NULL, country_id text PATH ('COUNTRY_ID'::text), region_id integer PATH ('REGION_ID'::text), size double precision PATH ('SIZE'::text), unit text PATH ('SIZE/@unit'::text), premier_name text DEFAULT ('not specified'::text) PATH ('PREMIER_NAME'::text))
|
||||
(7 rows)
|
||||
|
||||
-- errors
|
||||
SELECT * FROM XMLTABLE (ROW () PASSING null COLUMNS v1 timestamp) AS f (v1, v2);
|
||||
ERROR: XMLTABLE function has 1 columns available but 2 columns specified
|
||||
-- XMLNAMESPACES tests
|
||||
SELECT * FROM XMLTABLE(XMLNAMESPACES('http://x.y' AS zz),
|
||||
'/zz:rows/zz:row'
|
||||
|
@ -1125,6 +1125,9 @@ EXPLAIN (COSTS OFF, VERBOSE) SELECT * FROM xmltableview1;
|
||||
Table Function Call: XMLTABLE(('/ROWS/ROW'::text) PASSING (xmldata.data) COLUMNS id integer PATH ('@id'::text), _id FOR ORDINALITY, country_name text PATH ('COUNTRY_NAME/text()'::text) NOT NULL, country_id text PATH ('COUNTRY_ID'::text), region_id integer PATH ('REGION_ID'::text), size double precision PATH ('SIZE'::text), unit text PATH ('SIZE/@unit'::text), premier_name text DEFAULT ('not specified'::text) PATH ('PREMIER_NAME'::text))
|
||||
(7 rows)
|
||||
|
||||
-- errors
|
||||
SELECT * FROM XMLTABLE (ROW () PASSING null COLUMNS v1 timestamp) AS f (v1, v2);
|
||||
ERROR: XMLTABLE function has 1 columns available but 2 columns specified
|
||||
-- XMLNAMESPACES tests
|
||||
SELECT * FROM XMLTABLE(XMLNAMESPACES('http://x.y' AS zz),
|
||||
'/zz:rows/zz:row'
|
||||
|
Loading…
x
Reference in New Issue
Block a user