describe command for

From: "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com>
To: "PostgreSQL General (pgsql-general(at)postgresql(dot)org)" <pgsql-general(at)postgresql(dot)org>
Subject: describe command for
Date: 2012-06-08 19:31:08
Message-ID: 8585BA53443004458E0BAA6134C5A7FB9E9D1457@EGEXCMB01.oww.root.lcl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a postgres sql command/function that will display an object ddl?

I know of the psql metacharacters, but don't know how I'd submit from a non-psql client like sqldbx.
I see that pgadmin generates a query and then formats into a ddl statement, but this seems like a lot of work for something that I would expect to be part of the command set.

Thanks

Doug Little

Sr. Data Warehouse Architect | Business Intelligence Architecture | Orbitz Worldwide
500 W. Madison, Suite 1000 Chicago IL 60661| Office 312.260.2588 | Fax 312.894.5164 | Cell 847-997-5741
Douglas(dot)Little(at)orbitz(dot)com<mailto:Douglas(dot)Little(at)orbitz(dot)com>
[cid:image001(dot)jpg(at)01CD4583(dot)580D4770] orbitz.com<http://www.orbitz.com/> | ebookers.com<http://www.ebookers.com/> | hotelclub.com<http://www.hotelclub.com/> | cheaptickets.com<http://www.cheaptickets.com/> | ratestogo.com<http://www.ratestogo.com/> | asiahotels.com<http://www.asiahotels.com/>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message René Romero Benavides 2012-06-08 19:44:08 Re: describe command for
Previous Message René Romero Benavides 2012-06-08 16:55:15 Re: Two databases on the same server, looking for idea how to restrict access.