Guest_imported
New member
- Jan 1, 1970
- 0
Hi ...
i am trying to get the table definition of a table for programming ... i know that its \d <tablename> in the psql-tool ... but that doesn't help much for working that into source code, does it ?
I also know that pg_attributes holds all data i need to know about the table but i have to give the oid of the table to identify it - where from do i get this oid just by giving the name of the table ?
i am trying to get the table definition of a table for programming ... i know that its \d <tablename> in the psql-tool ... but that doesn't help much for working that into source code, does it ?
I also know that pg_attributes holds all data i need to know about the table but i have to give the oid of the table to identify it - where from do i get this oid just by giving the name of the table ?