Re: xmlconcat as variadic function - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: xmlconcat as variadic function
Date
Msg-id b42b73150811170427w16bbdf38l90da4bc6bd17b140@mail.gmail.com
Whole thread Raw
In response to xmlconcat as variadic function  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, Nov 17, 2008 at 6:22 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Here is a patch to reimplement the xmlconcat functionality as a variadic
> function instead of a hardcoded special expression type.  I haven't found
> any variadic function in the set of built-in functions so far, so I figured
> I would ask for feedback before we go down this route.


One small side effect is that variadic functions have stricter casting
rules...you can't pass string literals without a cast.  This is not
necessarily a bad thing, but the invocations are not quite compatible.


merlin


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: xmlconcat as variadic function
Next
From: Alvaro Herrera
Date:
Subject: Re: Client certificate authentication