From: Vibhor Kumar <vibhor.kumar@enterprisedb.com>
To: Nicholas I <nicholas.domnic.i@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pgdump with insert command help
Date: Mon, 27 Sep 2010 17:01:18 +0530
Message-ID: <BDFF6AB4-0E61-47DB-BFBA-04C022D36F00@enterprisedb.com> (raw)
In-Reply-To: <AANLkTimdTxz0yZxKPden=wSh0KnCJJMdoocuVMK4DGK7@mail.gmail.com>
References: <AANLkTimdTxz0yZxKPden=wSh0KnCJJMdoocuVMK4DGK7@mail.gmail.com>
On Sep 24, 2010, at 6:02 PM, Nicholas I wrote:
>
> pg_dump -Dt --insert table dbname > table.sql;
>
> i am not able to get the output. is this correct ?
Try following:
pg_dump --insert -t <tablename> <dbname>
Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: vibhor.kumar@enterprisedb.com, nicholas.domnic.i@gmail.com
Subject: Re: pgdump with insert command help
In-Reply-To: <BDFF6AB4-0E61-47DB-BFBA-04C022D36F00@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox