Re: pg_dump excluding tables content but not table schema

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump excluding tables content but not table schema
Date: 2009-12-28 19:39:36
Message-ID: 4B390978.9090307@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 28/12/2009 18:41, Ivan Sergio Borgonovo wrote:

> I'd like to just dump the table schema without dumping the table
> contend.

pg_dump -s -t <table name> <db name>

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greenhorn 2009-12-28 20:13:46 Re: cross-database time extract?
Previous Message Ivan Sergio Borgonovo 2009-12-28 18:41:36 pg_dump excluding tables content but not table schema