BUG #12779: pg_dump -Fd doesn't care about -Z

From: christoph(dot)berg(at)credativ(dot)de
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12779: pg_dump -Fd doesn't care about -Z
Date: 2015-02-17 15:34:46
Message-ID: 20150217153446.2590.24945@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: 12779
Logged by: Christoph Berg
Email address: christoph(dot)berg(at)credativ(dot)de
PostgreSQL version: 9.4.1
Operating system: Linux (Debian 8)
Description:

pg_dump -Fd doesn't seem to care about -Z for Z > 0:

$ for i in {0..9}; do echo $i; pg_dump -Z$i -Fd -f $i.fd postgres ; done
$ du ?.fd
5392 0.fd
1164 1.fd
1164 2.fd
1164 3.fd
1164 4.fd
1164 5.fd
1164 6.fd
1164 7.fd
1164 8.fd
1164 9.fd

In contrast with -Fc, where it works:

$ for i in {0..9}; do echo $i; pg_dump -Z$i -Fc -f $i.fc postgres ; done
$ du ?.fc
7548 0.fc
1488 1.fc
1440 2.fc
1392 3.fc
1240 4.fc
1148 5.fc
1160 6.fc
1156 7.fc
1160 8.fc
1160 9.fc

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Francisco Olarte 2015-02-17 15:50:34 Re: BUG #12779: pg_dump -Fd doesn't care about -Z
Previous Message Tom Lane 2015-02-17 15:06:06 Re: Fwd: Re: postgresql-server exiting abnormally after upgrade to -snapshot