column names from temporary tables

Поиск
Список
Период
Сортировка
От Kabai József
Тема column names from temporary tables
Дата
Msg-id 02d501c28731$78c77500$6b01a8c0@audiobox.hu
обсуждение исходный текст
Ответ на Re: Restoring a db dump with tsearch fields fails  ("Robert John Shepherd" <robert@reviewer.co.uk>)
Ответы Re: column names from temporary tables
Список pgsql-general
Hi All,
I know how to get column names from tables:

select attname from pg_attribute where attrelid=(select oid from
pg_class where relname='table1');

but it does not work for temporary tables, because when creating it gets a system name like 'pg_temp_6410_1'

Is there any solution for it?
Thanks, Joseph





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