Skip to content

Commit 62221ef

Browse files
committed
Update xml_1.out and xml_2.out
Commit 0fbf011 should have updated them but didn't.
1 parent 12e423e commit 62221ef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/test/regress/expected/xml_1.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,9 @@ EXPLAIN (COSTS OFF, VERBOSE) SELECT * FROM xmltableview1;
873873
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))
874874
(7 rows)
875875

876+
-- errors
877+
SELECT * FROM XMLTABLE (ROW () PASSING null COLUMNS v1 timestamp) AS f (v1, v2);
878+
ERROR: XMLTABLE function has 1 columns available but 2 columns specified
876879
-- XMLNAMESPACES tests
877880
SELECT * FROM XMLTABLE(XMLNAMESPACES('http://x.y' AS zz),
878881
'/zz:rows/zz:row'

src/test/regress/expected/xml_2.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,9 @@ EXPLAIN (COSTS OFF, VERBOSE) SELECT * FROM xmltableview1;
11251125
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))
11261126
(7 rows)
11271127

1128+
-- errors
1129+
SELECT * FROM XMLTABLE (ROW () PASSING null COLUMNS v1 timestamp) AS f (v1, v2);
1130+
ERROR: XMLTABLE function has 1 columns available but 2 columns specified
11281131
-- XMLNAMESPACES tests
11291132
SELECT * FROM XMLTABLE(XMLNAMESPACES('http://x.y' AS zz),
11301133
'/zz:rows/zz:row'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy