BUG #7792: pg_dump does not treat -c flag correctly when using tar format

Поиск
Список
Период
Сортировка
От emesika@redhat.com
Тема BUG #7792: pg_dump does not treat -c flag correctly when using tar format
Дата
Msg-id E1TrqX7-0002qd-4e@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7792: pg_dump does not treat -c flag correctly when using tar format
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7792
Logged by:          Eli Mesika
Email address:      emesika@redhat.com
PostgreSQL version: 9.1.7
Operating system:   Fedora 16
Description:        =


steps to reproduce (aasuming database name is : test)

1) pg_dump -F t -U postgres -f test.tar test
2) tar xvf test.tar  to any directory
3) vi restore.sql
* restore.sql includes DROP statements for each object even tough -c flag
was not given

repeat the above using plain-text format
1) pg_dump -F p -U postgres -f test.sql test
2) vi test.sql

This time test.sql does not include DROP staements for each object

* pg_dump should not produce DROP statements for each object if -c flag was
not given to the command

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