Re: BUG #1670: pg_dump fails on CentOS 4 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1670: pg_dump fails on CentOS 4
Date
Msg-id 18775.1116262344@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1670: pg_dump fails on CentOS 4  ("Josh" <josh@globalherald.net>)
Responses Re: BUG #1670: pg_dump fails on CentOS 4  (josh@bitbuckets.com)
List pgsql-bugs
"Josh" <josh@globalherald.net> writes:
> The following bug has been logged online:
> pg_dump, as packaged in postgresql-8.0.3-1PGDG.i686.rpm, fails with no
> output whatsoever when run from a terminal window:

> [josh@localhost ~]$ pg_dump -U username database > backup.sql

Try turning off SELinux enforcement, or better update the selinux
policy package and do a restorecon on all of /usr/bin.  The earlier
releases of selinux-policy-targeted prevent pg_dump from writing on
/dev/tty :-( ... which makes it a bit hard to emit error messages...

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Mark Dilger"
Date:
Subject: BUG #1671: Long interval string representation rejected
Next
From: Tom Lane
Date:
Subject: Re: BUG #1670: pg_dump fails on CentOS 4