Re: xmlconcat as variadic function

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "PG Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: xmlconcat as variadic function
Date: 2008-11-17 12:27:59
Message-ID: b42b73150811170427w16bbdf38l90da4bc6bd17b140@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 17, 2008 at 6:22 AM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-11-17 12:31:23 Re: Client certificate authentication
Previous Message Heikki Linnakangas 2008-11-17 11:52:55 Re: xmlconcat as variadic function