There is no ready available function to generate the reverse engineered query. pgAdmin III generates it from the metadata (table information) available.
On Fri, Dec 6, 2013 at 4:17 PM, Peter Kroon <plakr...@gmail.com> wrote: > When you click on a table in the "Object browser" you'll see in the "SQL > pane" the sql that is needed to create that table. > > Which function can I call to get that SQL? > > Best, > Peter > -- -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com> *http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>