Best unofficial Apache Server developers community |
|
Hi, is there a mysql equivalent of SHOW CREATE TABLE in postgres? Is this possible? If not what is the next best solution? I need the statement because I use it to create the table on an remote server (over WCF). Thanks, Vasja
posted via ServerFault
|
|
 
|
pg_dump:
or use PostgreSQL GUI Tools(pgAdmin,phpPgAdmin,etc.) |
|
 
|
You can try to trace in the PostgreSQL log file what "pg_dump -t table -s" really does.Then you can use the same method to write your own sql function. |