pgsql: Fix bug in original implementation of xmlserialize(): if user

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in original implementation of xmlserialize(): if user
Date: 2008-08-29 17:27:50
Message-ID: 20080829172750.C3C27755315@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix bug in original implementation of xmlserialize(): if user specifies
a target type that isn't acceptable, the code failed to raise the proper
error. The result instead was to return a NULL expression tree, which
in a quick test led to a 'cache lookup failed for type 0' error later.

Patch 8.3 only --- I fixed this in HEAD as part of recent locations patch.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/parser:
parse_expr.c (r1.226 -> r1.226.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_expr.c?r1=1.226&r2=1.226.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-08-29 17:28:43 pgsql: Fixup pg_dumpall adding --lock-wait-timeout, to match pg_dump.
Previous Message Alvaro Herrera 2008-08-29 17:03:20 Re: Re: [COMMITTERS] pgsql: Remove all traces that suggest that a non-Bison yacc might be