error in SELECT from store procedure

Поиск
Список
Период
Сортировка
От Ivan Pavlov
Тема error in SELECT from store procedure
Дата
Msg-id 434A8C1D.6080707@ratola.bg
обсуждение исходный текст
Ответы Re: error in SELECT from store procedure  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
I have a store procedure which returns a record; the query is defined as:

select * from spec_proc.view_empl_1('bg',2) AS (f1 varchar, f2 varchar,
f3 date, f4 varchar, f5 varchar,f6 varchar,f7 varchar, f8 varchar, f9
int, f10 varchar, f11 varchar, f12 varchar, f13 int, f14 varchar, f15
date, f16 date)

I recieve the following error:

ERROR:  record "employee" is not assigned yet
DETAIL:  The tuple structure of a not-yet-assigned record is indeterminate.

The record "employee" is the record returned by the store procedure.
It is created after all other data are assigned to variables.
Any ideas what might cause this?

I.P.

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

Предыдущее
От: Florian Ledoux
Дата:
Сообщение:
Следующее
От: Venki@insoft.com
Дата:
Сообщение: Too many clients connected