Thread: Q: parameters to functions

Q: parameters to functions

From
Number One
Date:
Hello all,

I am new to postgresql, and have few questions to ask
which I hope some kind souls out there willing to help
:)

1. How are parameters passed to functions made CREATE
FUNCTION? Are they always passed by value?

2. Is it possible to pass table name? So something
like:

   create function foo(t) returns ...
         `select * from t`

cheers, **arbil**






_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com