Yambu <hyambu@gmail.com> writes:
> Is it possible to have as input to a function , a whole table contents, if
> the table is a small lookup table?
Not directly, but you might be able to achieve the effect by opening a
cursor and passing the cursor name to the function, which could fetch
from it. See the examples in the cursor section of the plpgsql manual.
regards, tom lane