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

From: Jeff Davis <pgsql(at)j-davis(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-01-30 21:36:19
Message-ID: 1170192979.22436.23.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2007-01-30 at 12:32 -0800, Karen Hill wrote:
> Is it possible to have a pl/pgsql function take another pl/pgsql
> function as one of the parameters?
>

Not directly, but it could take a text string as a parameter and then
EXECUTE the text string after passing it to quote_ident().

Regards,
Jeff Davis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-01-30 21:45:28 Re: Any Plans for cross database queries on the same server?
Previous Message Bruce Momjian 2007-01-30 21:32:05 Re: [GENERAL] PostgreSQL 9.0