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: [EMAIL PROTECTED] |
> +----------------------------------+
> 
> ************

************

Reply via email to