summaryrefslogtreecommitdiff
path: root/src/test/regress/sql
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2015-12-14 11:46:47 -0600
committerKevin Grittner <kgrittn@postgresql.org>2015-12-14 11:46:47 -0600
commitc6eced09b25d12d73b93a740f2d81c22bb7e3d1f (patch)
tree3d8859ef3252d0cda7d6c07f602e90eb204481e3 /src/test/regress/sql
parent34d136f92ac65c4ed8ede9459217ef900d603f97 (diff)
Remove xmlparse(document '') test
This one test was behaving differently between the ubuntu fix for CVE-2015-7499 and the base "expected" file. It's not worth having yet another version of the expected file for this test, so drop it. Perhaps at some point when all distros have settled down to the same behavior on this test, it can be restored. Problem found by me on libxml2 (2.9.1+dfsg1-3ubuntu4.6). Solution suggested by Tom Lane. Backpatch to 9.5, where the test was added.
Diffstat (limited to 'src/test/regress/sql')
-rw-r--r--src/test/regress/sql/xml.sql1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/regress/sql/xml.sql b/src/test/regress/sql/xml.sql
index 88764c88cdd..08a0b30067a 100644
--- a/src/test/regress/sql/xml.sql
+++ b/src/test/regress/sql/xml.sql
@@ -71,7 +71,6 @@ SELECT xmlparse(content '<relativens xmlns=''relative''/>');
SELECT xmlparse(content '<twoerrors>&idontexist;</unbalanced>');
SELECT xmlparse(content '<nosuchprefix:tag/>');
-SELECT xmlparse(document '');
SELECT xmlparse(document ' ');
SELECT xmlparse(document 'abc');
SELECT xmlparse(document '<abc>x</abc>');