Re: Problem with pg_dump - Mailing list pgsql-novice

From Tom Lane
Subject Re: Problem with pg_dump
Date
Msg-id 5834.1138394293@sss.pgh.pa.us
Whole thread Raw
In response to Problem with pg_dump  (Luzmar Caicedo Useche <luzmar.caicedo@open-world.com.ve>)
Responses Re: Problem with pg_dump  (Luzmar Caicedo Useche <luzmar.caicedo@open-world.com.ve>)
List pgsql-novice
Luzmar Caicedo Useche <luzmar.caicedo@open-world.com.ve> writes:
> If  I execute:
> pg_dump mibd -U postgres > midb.out
> Don�t receive any error message, but midb.out is empty.... (0 kb)

Given that it's RHEL4, maybe you have a selinux permissions problem?
Does /usr/sbin/getenforce say that selinux is in enforcing mode,
and if so, does pg_dump work better after doing "/usr/sbin/setenforce 0"
as root?

If so, you probably need to update your selinux policy module.

            regards, tom lane

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using drop database from psql
Next
From: Guido Barosio
Date:
Subject: Re: Using drop database from psql