Re: pg_dump problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: JTyrrell <jtyrrell_(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump problems
Date: 2007-01-04 18:39:11
Message-ID: 23142.1167935951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

JTyrrell <jtyrrell_(at)hotmail(dot)com> writes:
> 1. pg_dump -s doesn't work. I've tried using a load of other options and
> none at all but no luck.

> 2. I'm running as root so wont be a problem there, and the file im dumping
> to has full permissions for everyone.

> What makes this even more confusing is I tried pg_dump with a database name
> that doesnt exist and tried dumping from database root with a user that
> doesn't have permission to do that. Both gave the same results as before.
> Its basically creating the file i need, looking for the database and not
> finding it. When you dump an empty database the file at least has some info
> on session authorization and the schema. Im getting nothing!

It's really hard to believe that pg_dump would write nothing to either
the output file or stderr. The only thought that comes to mind is that
if this machine has SELinux enabled, the SELinux policy might be
forbidding it from writing on the output file. What's the platform,
exactly?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dimitri Fontaine 2007-01-04 18:51:24 Re: Need help in PGSQL
Previous Message Devrim GUNDUZ 2007-01-04 18:34:44 Re: Dependency conflicts on CentOS 4.4