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

From: emesika(at)redhat(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7792: pg_dump does not treat -c flag correctly when using tar format
Date: 2013-01-06 13:45:01
Message-ID: E1TrqX7-0002qd-4e@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7792
Logged by: Eli Mesika
Email address: emesika(at)redhat(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message davios 2013-01-06 16:23:55 BUG #7793: tsearch_data thesaurus size limit
Previous Message zardozwildman 2013-01-06 06:14:04 BUG #7791: create database with owner, owner does not get usage on schema