Skip site navigation (1) Skip section navigation (2)

BUG #5534: IS DOCUMENT predicate errors instead of returning false

From: "Mike Fowler" <mike(at)mlfowler(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5534: IS DOCUMENT predicate errors instead of returning false
Date: 2010-07-01 16:52:46
Message-ID: 201007011652.o61GqkEQ006664@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5534
Logged by:          Mike Fowler
Email address:      mike(at)mlfowler(dot)com
PostgreSQL version: 9.0beta2
Operating system:   Linux 2.6.31-14-generic #48-Ubuntu SMP
Description:        IS DOCUMENT predicate errors instead of returning false
Details: 

IS DOCUMENT should return false for a non-well formed document, and indeed
is coded to do such. However, the conversion to the xml type which happens
before the underlying xml_is_document function is even called fails and
exceptions out. I've mentioned this on -hackers with message ID
20100701172553(dot)w5vdy1xbocos8g40(at)www(dot)mlfowler(dot)com

Responses

pgsql-bugs by date

Next:From: ola sergatchovDate: 2010-07-01 17:58:37
Subject: Re: BUG #5531: REGEXP_ REPLACE causes connection drop
Previous:From: Tom LaneDate: 2010-07-01 16:51:50
Subject: Re: BUG #5533: PQexecParams in Binary Mode returns incorrect value for float4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group