Re: Can a function be parameter in PL/PGSQL function?

From: elein <elein(at)varlena(dot)com>
To: Karen Hill <karen_hill22(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can a function be parameter in PL/PGSQL function?
Date: 2007-02-03 23:10:26
Message-ID: 20070203231026.GU8879@varlena.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 30, 2007 at 12:32:04PM -0800, Karen Hill wrote:
> Is it possible to have a pl/pgsql function take another pl/pgsql
> function as one of the parameters?
>
> regards,
> karen
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

Is this what you mean? (Where arg takes and returns text)

elein=# select arg( arg('xxx') );
arg
-----
xxx
(1 row)

--elein

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2007-02-03 23:46:56 Re: date comparisons
Previous Message Bruce Momjian 2007-02-03 23:01:29 Re: [girgen@FreeBSD.org: Re: port fault on pg_ctl's