Re: Problem with pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Luzmar Caicedo Useche <luzmar(dot)caicedo(at)open-world(dot)com(dot)ve>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problem with pg_dump
Date: 2006-01-27 20:38:13
Message-ID: 5834.1138394293@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Luzmar Caicedo Useche <luzmar(dot)caicedo(at)open-world(dot)com(dot)ve> writes:
> If I execute:
> pg_dump mibd -U postgres > midb.out
> Dont 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Luzmar Caicedo Useche 2006-01-27 23:27:15 Problema con postgresql 8.1.2
Previous Message Tom Lane 2006-01-27 20:33:25 Re: Using drop database from psql