From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tod McQuillin <devin(at)spamcop(dot)net> |
Cc: | Bruno Boettcher <bboett(at)erm1(dot)u-strasbg(dot)fr>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: how to check presence of a function and set permissions? |
Date: | 2001-05-22 04:15:56 |
Message-ID: | 200105220415.f4M4Fus29615@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I see EXECUTE in the PL/PgSQL manual.
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Martín Marqués | 2001-05-22 07:44:06 | Re: RULES |
Previous Message | Sandhya Bellave | 2001-05-21 20:46:56 | Define timestamp with no timezone |