Record unassigned yet

Поиск
Список
Период
Сортировка
От Johann Robette
Тема Record unassigned yet
Дата
Msg-id 005801c4a798$7ce9c820$a5010a0a@Johann
обсуждение исходный текст
Ответы Re: Record unassigned yet  (Russell Smith <mr-russ@pws.com.au>)
Re: Record unassigned yet  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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;
...

When I call the function, I get the error :ERROR:  record " current " is unassigned yet

Any idea?




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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: CREATE INDEX speeds up query on 31 row table ...
Следующее
От: Russell Smith
Дата:
Сообщение: Re: Record unassigned yet