Обсуждение: pgsql and function results

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

pgsql and function results

От
erikp
Дата:
Can postgresql return a result set from a function or some other way?

create function getBooks() returns ??? as 'select * from books';

Is there an rType for ??? that is a resultset? This is a very basic
fuctionality in other dbs.

Erik