I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: I can't seem to put the right combination of magic into the pg_hba and pg_ident files.
Date: 2009-11-09 01:49:40
Message-ID: 855e4dcf0911081749y353f2a47tdcfadec5af1efb3a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to accomplish what I would think would be a simple thing. I
want the root user to be able to connect to the postgres database as
user postgres from the local machine without passwords. Since I am
doing this from a program I don't want to use the su facility.

I have tried a lot of different combinations of things into the
pg_hba.conf and pg_ident.conf but I can't make anything work.

Here is my pg_ident file

pg_map root postgres

Here is the line from pg_hba

local all all ident map=pg_map

What am I doing wrong here?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yadisnel Galvez Velazquez 2009-11-09 01:54:24 Re: [pgsql-es-ayuda] Ayuda con NOTIFY en C
Previous Message Alvaro Herrera 2009-11-09 01:36:04 Re: Ayuda con NOTIFY en C