Re: Regarding niladic functions (another form)

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Chandra Sekhar Surapaneni <chandu(at)positivenetworks(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regarding niladic functions (another form)
Date: 2005-04-05 05:59:46
Message-ID: Pine.LNX.4.44.0504050747150.24478-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

It's not really about subject - sorry. I tryed implement support of XML.
For it I need functions which know names of params.

example:
create table foo(a integer);
select xmlnode(a) from foo; -> <a>10</a> ....
select xmlnode(a as b) from foo; -> <b>10</b> ...

I have particular solution, but maybe is better general support for it.
There is some ideas about functions with variable count of params?

Thank You
Pavel Stehule

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nageshwar Rao 2005-04-05 06:40:27 pg_restore
Previous Message Tom Lane 2005-04-05 05:32:33 Re: Regarding niladic functions