> I want to use client table as a variable
In plpgsql you can do that by using EXECUTE
http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=plpgsql-control-structures.html
--
Rod Taylor <rbt(at)rbt(dot)ca>
PGP Key: http://www.rbt.ca/rbtpub.asc