Siddharth Saha <siddharthsaha(at)drishti-soft(dot)com> writes:
> Can someone tell me how to invoke a UDF which takes a user-defined type as
> one of its arguments.
It's not significantly different from calling functions with built-in types.
Typically you'd do
select myfunc('value', ...);
for a scalar type, or
select myfunc(row('value', 'value', ...), ...);
for a composite type.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Carel Combrink||Date: 2010-08-26 07:39:38|
|Subject: Display XML Table output in Browser|
|Previous:||From: Siddharth Saha||Date: 2010-08-25 12:11:23|
|Subject: calling functions which take user defined types|