Re: [PATCH] Bug in XPATH() if expression returns a scalar value

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Florian Pflug <fgp@phlo.org>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-13T19:24:49Z
Lists: pgsql-hackers
On ons, 2011-06-08 at 10:14 +0200, Florian Pflug wrote:
> But then you lose the ability to evaluate user-supplied
> XPath expressions, because there's no way of telling which of these
> function to use.

Perhaps having both variants, one type-safe and one not, would work.  I
don't agree with doing away with type-safety completely for the sake of
convenience.