Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 811E16327D0 for ; Sun, 8 Mar 2009 19:38:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 81304-05 for ; Sun, 8 Mar 2009 19:38:47 -0300 (ADT) X-Greylist: delayed 00:06:41.281969 by SQLgrey-1.7.6 Received: from web808.biz.mail.mud.yahoo.com (web808.biz.mail.mud.yahoo.com [209.191.90.81]) by mail.postgresql.org (Postfix) with SMTP id B368A632577 for ; Sun, 8 Mar 2009 19:38:52 -0300 (ADT) Received: (qmail 30018 invoked by uid 60001); 8 Mar 2009 22:32:10 -0000 Message-ID: <100803.29646.qm@web808.biz.mail.mud.yahoo.com> Received: from [24.18.213.106] by web808.biz.mail.mud.yahoo.com via HTTP; Sun, 08 Mar 2009 15:32:10 PDT X-RocketYMMF: dsaracini X-Mailer: YahooMailWebService/0.7.260.1 Date: Sun, 8 Mar 2009 15:32:10 -0700 (PDT) From: David Saracini Reply-To: david@couchhopper.com Subject: Function to return a tabledef? To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/1 X-Sequence-Number: 6860 Hello, Is there a function similar to pg_get_indexdef that will return the create statement for a table? TIA... David