diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-05-18 23:19:53 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-05-18 23:19:53 +0200 |
commit | e8b93c6e2810306887dc8477aab88ae08cf335f9 (patch) | |
tree | ef61334fe440c17e56e9322de65f30204eb4ccce /src | |
parent | 94edb85d253e5ae066481e4e369ad9e35dea41b5 (diff) | |
download | postgresql-e8b93c6e2810306887dc8477aab88ae08cf335f9.tar.gz postgresql-e8b93c6e2810306887dc8477aab88ae08cf335f9.zip |
Update xml_1.out and xml_2.out
Commit 0fbf01120023 should have updated them but didn't.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/regress/expected/xml_1.out | 3 | ||||
-rw-r--r-- | src/test/regress/expected/xml_2.out | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/regress/expected/xml_1.out b/src/test/regress/expected/xml_1.out index ec6457875ff..897ed382f12 100644 --- a/src/test/regress/expected/xml_1.out +++ b/src/test/regress/expected/xml_1.out @@ -1016,6 +1016,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' diff --git a/src/test/regress/expected/xml_2.out b/src/test/regress/expected/xml_2.out index 04842602817..493c6186e16 100644 --- a/src/test/regress/expected/xml_2.out +++ b/src/test/regress/expected/xml_2.out @@ -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' |