PostgreSQL counterpart to DBMS_METADATA?

From: Michael Tefft <mjtefft(at)hotmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: PostgreSQL counterpart to DBMS_METADATA?
Date: 2012-01-17 00:27:11
Message-ID: snt0-eas191AFE514D34810A39907C8AD800@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I would like to extract the DDL to create a given object (tables, primarily) from the catalog. Is there an interface, query, etc. that will do this? I'd rather not craft the DDL myself.

Thanks,
Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fujii Masao 2012-01-17 03:44:09 Re: PG synchronous replication and unresponsive slave
Previous Message Nick 2012-01-17 00:18:48 Whats the most efficient query for this result?