From: Tod McQuillin <devin@spamcop.net>
To: Bruno Boettcher <bboett@erm1.u-strasbg.fr>
Cc: pgsql-sql@postgresql.org
Subject: Re: how to check presence of a function and set permissions?
Date: Mon, 21 May 2001 03:54:02 -0500 (CDT)
Message-ID: <Pine.GSO.4.33.0105210350290.3446-100000@sysadmin> (raw)
In-Reply-To: <20010521103333.N15377@erm1.u-strasbg.fr>
On Mon, 21 May 2001, Bruno Boettcher wrote:
> since i am now destroying and recreating my functions at every request
> (due to the fact that pl/psql can't cope with dynamic table names,
I don't know about the rest of your question but I believe PostgreSQL
supports dynamic queries in plpgsql since v7.1 --
EXECUTE 'SELECT * FROM ' || table_name || ' WHERE whatever';
However, I do not see it in the documentation, so now I'm not 100%
certain.
--
Tod McQuillin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: devin@spamcop.net, bboett@erm1.u-strasbg.fr
Subject: Re: how to check presence of a function and set permissions?
In-Reply-To: <Pine.GSO.4.33.0105210350290.3446-100000@sysadmin>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox