Re: Pg_Restore with --clean option

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Pg_Restore with --clean option
Дата
Msg-id dcc563d10909302337v5fbb5141k36476078c0e36e1b@mail.gmail.com
обсуждение исходный текст
Ответ на Pg_Restore with --clean option  (Jyoti Seth <jyotiseth2001@gmail.com>)
Список pgsql-sql
On Wed, Sep 30, 2009 at 11:14 PM, Jyoti Seth <jyotiseth2001@gmail.com> wrote:
>
> I want to restore data of a single table. Before restoring the data I
> disabled all the triggers and constraints on that table. I used the restore
> command with --clean option so that data gets deleted from that table and
> then fresh data get inserted.

You could run truncate on the table then just restore its data from
the other machine.  If you still get dups then there's dups in the
original data.


В списке pgsql-sql по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Can i customize null-padding for outer joins?
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Can i customize null-padding for outer joins?