Re: Using a variable as tablename ins plpgsql? - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Using a variable as tablename ins plpgsql?
Date
Msg-id 162867790810200951r59512c0dv807a045c84a7f2b2@mail.gmail.com
Whole thread Raw
In response to Using a variable as tablename ins plpgsql?  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-general
Hello

2008/10/20 Glyn Astill <glynastill@yahoo.co.uk>:
> Hi people,
>
> Hopefully this is a quickie, I want to pass in a table name to a plpgsql function and then use that table name in my
queries.
>
> Is EXECUTE the only way to do this?
>
> Ta
> Glyn
>

yes,

regards
Pavel Stehule

>
>
>
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

pgsql-general by date:

Previous
From: Glyn Astill
Date:
Subject: Using a variable as tablename ins plpgsql?
Next
From: "Fernando Moreno"
Date:
Subject: Re: Using a variable as tablename ins plpgsql?