Skip site navigation (1) Skip section navigation (2)

postgresql password from .pgpass

From: cipriani(at)Argentina(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: postgresql password from .pgpass
Date: 2004-07-26 17:58:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
I have a problem connecting to the database.I'm trying to execute pg_dump
command from a user's $HOME (Linux User).
which have a .pgpass.
The .pgpass is like this and his permissions are 600 and belongs to a Linux


The command iam executing is $/var/lib/pgsql/bin/pg_dump -U databaseuser
databasename >database.sql
The password's user is plain in the database, put when you try to connect
with this command always require a password

the pg_hba.conf is like this and his permissions are 622 and belongs to
the postgres user.

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD

local             all               all
host              all               all 
host              all               all 

Please Help me for more details mail me to:


E-mail y acceso a Internet UltraVeloz totalmente GRATIS en 25 ciudades,
Nro. de acceso 5500-5500   Usuario: Argentina Password: Argentina

pgsql-general by date

Next:From: Matthew T. O'ConnorDate: 2004-07-26 18:03:37
Subject: Re: 7.5 beta?
Previous:From: Tom LaneDate: 2004-07-26 17:48:01
Subject: Re: Sql injection attacks

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group