Re: [GENERAL] Reverse-engineering table creation statements

2009-09-14 Thread Ries van Twisk
On Sep 14, 2009, at 10:27 AM, Thom Brown wrote: Erk... I forgot to mention I don't wish to use command-line tools either. I would like to submit something as a query in PHP and get back a result with the creation script in. This is to modify some existing code which is currently only sup

Re: [GENERAL] Reverse-engineering table creation statements

2009-09-14 Thread Thom Brown
Erk... I forgot to mention I don't wish to use command-line tools either. I would like to submit something as a query in PHP and get back a result with the creation script in. This is to modify some existing code which is currently only supporting MySQL. Thom 2009/9/14 Chris Barnes > pg_dump

Re: [GENERAL] Reverse-engineering table creation statements

2009-09-14 Thread Chris Barnes
pg_dump --schema-only --schema=SCHEMA --table=TABLE produces creation script. Chris http://www.postgresql.org/docs/8.0/interactive/backup.html From: thombr...@gmail.com Date: Mon, 14 Sep 2009 16:15:23 +0100 Subject: [GENERAL] Reverse-engineering table creation statements To: pgsql-