Re: Record unassigned yet

Поиск
Список
Период
Сортировка
От Russell Smith
Тема Re: Record unassigned yet
Дата
Msg-id 200410012119.51996.mr-russ@pws.com.au
обсуждение исходный текст
Ответ на Record unassigned yet  ("Johann Robette" <jrobette@onyme.com>)
Ответы RE : Record unassigned yet  ("Johann Robette" <jrobette@onyme.com>)
Список pgsql-hackers
On Fri, 1 Oct 2004 07:24 pm, Johann Robette wrote:
> Hello,
> 
> I'm experiencing a strange problem. Here it is :
> I've created a function with a FOR loop.
> 
> DECLARE
> Current RECORD;
> BEGIN
> FOR current IN SELECT * FROM employees LOOP
>   Tmp := current.id;
> END LOOP;
> ...
current != Current ?

> 
> When I call the function, I get the error :
>  ERROR:  record " current " is unassigned yet
> 
> Any idea?
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 
> 


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

Предыдущее
От: "Johann Robette"
Дата:
Сообщение: Record unassigned yet
Следующее
От: "Johann Robette"
Дата:
Сообщение: RE : Record unassigned yet