pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lee Wu <Lwu@mxlogic.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump, pg_restore, insert vs copy
Date: Thu, 24 Mar 2005 11:10:43 -0500
Message-ID: <27253.1111680643@sss.pgh.pa.us> (raw)
In-Reply-To: <ECAB83AA52BCC043A0E24BBC00001024D2E6BD@mxhq-exch.corp.mxlogic.com>
References: <ECAB83AA52BCC043A0E24BBC00001024D2E6BD@mxhq-exch.corp.mxlogic.com>

"Lee Wu" <Lwu@mxlogic.com> writes:
> MY OS command is:
> pg_restore -v -t mytable -d mydb -U postgres -R my.dmp

That doesn't prove a thing; the question is what you typed at pg_dump.

Thinking about it, I wonder if you did "pg_dump -d mydb ..."
-d means something different to pg_dump than pg_restore.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <27253.1111680643@sss.pgh.pa.us>
Permalink:  ../27253.1111680643@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27253.1111680643@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Lwu@mxlogic.com
  Subject: Re: pg_dump, pg_restore, insert vs copy
  In-Reply-To: <27253.1111680643@sss.pgh.pa.us>
  References: <ECAB83AA52BCC043A0E24BBC00001024D2E6BD@mxhq-exch.corp.mxlogic.com> <27253.1111680643@sss.pgh.pa.us>

* 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