Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl> writes:> Does anybody have any suggestion on how to use a dynamic tablename > passed as an attribute in a function?
You need to use EXECUTE. See past discussions.
regards, tom lane