R: Table as parameter - Mailing list pgsql-general

From Scara Maccai
Subject R: Table as parameter
Date
Msg-id 402216.75943.qm@web24601.mail.ird.yahoo.com
Whole thread Raw
In response to Table as parameter  (Alex Paulo <alexpaulooliveira@gmail.com>)
List pgsql-general
> I have a problem: I need put the "table name" as
> a parameter in a function!

I think you have to use dynamic statements:

http://www.postgresql.org/docs/8.4/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN






pgsql-general by date:

Previous
From: Scara Maccai
Date:
Subject: adding a nullable col could rewrite the whole table?
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Table as parameter