Обсуждение: Q: parameters to functions

Поиск
Список
Период
Сортировка

Q: parameters to functions

От
Number One
Дата:
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