returning array from function or "structured error"

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема returning array from function or "structured error"
Дата
Msg-id 20080330223803.46db3bee@webthatworks.it
обсуждение исходный текст
Ответы Re: returning array from function or "structured error"
Список pgsql-general
I've a plpgsql function that execute some tests on data and it has to
return which test failed.

It would be handy to return an array... but an array is returned as a
serialised object and I'd like to avoid to un-serialise it from php.

Building up a temp table and returning a "setof record" or
building up a bitmap look awful.

Any elegant idea?

thx

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: database 1.2G, pg_dump 73M?!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Connection to PostgreSQL Using Certificate: Wrong Permissions on Private Key File