Thank you. "select * From information_schema.columns where table_schema = 'public' and table_name = 'mdc_products' order by ordinal_position;"
Thanks again. Patrick Hatcher "Dann Corbit" <[EMAIL PROTECTED] m> To "Patrick Hatcher" 11/02/2005 03:45 <[EMAIL PROTECTED]>, PM <pgsql-general@postgresql.org> cc Subject RE: [GENERAL] Data Dictionary generator? PostgreSQL has Information Schema > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:pgsql-general- > [EMAIL PROTECTED] On Behalf Of Patrick Hatcher > Sent: Wednesday, November 02, 2005 3:39 PM > To: pgsql-general@postgresql.org > Subject: [GENERAL] Data Dictionary generator? > > > > I need to generate a data dictionary for all my tables (name, column, > type, etc) in my database. Is there an easy to do this without having to > do a \d tablename for each table? > tia > Patrick > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend