Re: [GENERAL] Prog to generate table structure ...

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: [GENERAL] Prog to generate table structure ...
Дата
Msg-id 37CC6C31.894DF865@tech.com.au
обсуждение исходный текст
Ответ на Prog to generate table structure ...  (Marzullo Laurent <Laurent.Marzullo@sema.be>)
Список pgsql-general
You need to look at the system tables. Like pg_class and the other pg_*
tables.

pg_dump will output CREATE statements to re-create the database. I'm not
sure
that's what you want though.

Marzullo Laurent wrote:
>
> Hello,
>
> is there a prog to generate  C file describing table structure
> of a database.
>
> (Something like dclgen under Ingres...)
>
> If not, I would like to know how to get information about
> type of each row of a table to write this kind of prog.
> (i.e. Where is this explain ?)
>
> --
> +----------------------------------+
> | Marzullo Laurent                 |
> | Analyste-programmeur             |
> | SEMA-GROUP Belgium S.A.          |
> | Tél: (32) 2 333 52 43            |
> | e-mail: Laurent.Marzullo@sema.be |
> +----------------------------------+
>
> ************

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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: [GENERAL] Bug-tracking
Следующее
От: Teodor Cimpoesu
Дата:
Сообщение: Re: [GENERAL] change null to ""