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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #5534: IS DOCUMENT predicate errors instead of returning false
Дата
Msg-id 1278082971.25901.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: BUG #5534: IS DOCUMENT predicate errors instead of returning false  (Mike Fowler <mike@mlfowler.com>)
Список pgsql-bugs
On fre, 2010-07-02 at 14:01 +0100, Mike Fowler wrote:
>
> The attached patch is a very small patch that changes parse_expr.c
> to
> not convert everything to xml. This now means that when passed
> malformed XML it will return false instead of throwing an exception.
> In my mind this acceptable as I don't see anywhere in the standard
> that mandates that:
>
> xmlval IS NOT DOCUMENT == xmlval IS CONTENT

It says that the declared type of the argument of IS DOCUMENT is XML,
which would be invalidated by your patch.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Jon Strait"
Дата:
Сообщение: BUG #5536: Disputing output for some Geometric types
Следующее
От: "Peter Abrahamsen"
Дата:
Сообщение: BUG #5537: Makefile.darwin broken