Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B54DF9FB831 for ; Mon, 2 Apr 2007 13:22:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 83256-03-2 for ; Mon, 2 Apr 2007 13:22:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 90ADD9FA4B4 for ; Mon, 2 Apr 2007 13:22:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l32GMd75010701; Mon, 2 Apr 2007 12:22:40 -0400 (EDT) To: arnaulist@andromeiberica.com cc: pgsql-admin@postgresql.org Subject: Re: Dumping views, functions, ... In-reply-to: <461112F9.70101@andromeiberica.com> References: <461112F9.70101@andromeiberica.com> Comments: In-reply-to Arnau message dated "Mon, 02 Apr 2007 16:28:09 +0200" Date: Mon, 02 Apr 2007 12:22:39 -0400 Message-ID: <10700.1175530959@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/19 X-Sequence-Number: 25083 Arnau writes: > Lets say that in my database I have a view named foo_view and I'd > like to dump it's definition. I'd like to do something like: > pg_dump --view=foo_view bar_db > foo_view.log -t works fine on views... regards, tom lane