Little, Douglas wrote:
Hi,Is there a PG command or fuction that will return table ddl?
If you just want the definition,in psql type \d tablename.To dump ddl the pg_dump with proper arguments can dump just the ddl of a single table. (see pg_dump --help)
I'm not aware of a command or function that returns it though. Regards, Yeb Havinga -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers