Looping through fields

Поиск
Список
Период
Сортировка
От Enrique Filberto
Тема Looping through fields
Дата
Msg-id 3dae7b2c_1@news.tiscalinet.ch
обсуждение исходный текст
Список pgsql-hackers
Hello

I wonder if there is a possibility to not 
only loop through record's with a FOR loop, 
but also loop through the record itselfs. 
Meaning something like that:

FOR record IN SELECT * FROM table LOOP
       FOR each field IN record LOOP
               return all field values
       END LOOP

END LOOP

I fear I have to read the systems table to
get all field names and then read one field
after another from the record with the names 
from the systems table?

Regards
elf



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

Предыдущее
От: "David De Graff"
Дата:
Сообщение: Postgres-based system to run .org?
Следующее
От: "Igor Georgiev"
Дата:
Сообщение: "COPY FROM" recognize \xDD sequence - addition to copy.c & idea 4 developers