pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lbottorff@harveycounty.com
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf changes have no effect on cygwin/NT 4.0
Date: Tue, 27 Feb 2001 15:55:46 -0600
Message-ID: <86256A00.007876CB.00@mail.harveycounty.com> (raw)

So far I have only been able to get psql to start with these pg_hba.conf
entries:

local        all
                                                                   trust
host         all         127.0.0.1     255.255.255.255     trust

Then, I can use
>psql -h localhost template1

and get a prompt. Then if I want to get to another database, I must use \connect
 otherdb.

Any other lines in pg_hba.conf don't seem to work, as for example when I try to
specify an IP address or database,
I get only errors when trying to log in to a specific db as a specific user (No
such user, etc.). Note I am using cygwin/NT 4.0 to run
Postgres 7.0.3. I am starting and stopping postgres after each pg_hba.conf
change. As a result, I'm not getting anywhere
near being able to use ODBC, as it needs a user and database. Do I have to stop
and start ipc_daemon too? (Something tells me I wouldn't have these
problems on a Unix/Linux box....)





view thread (2+ messages)  latest in thread

Message-ID: <86256A00.007876CB.00@mail.harveycounty.com>
Permalink:  ../86256A00.007876CB.00@mail.harveycounty.com/
Also on:    postgresql.org/message-id/86256A00.007876CB.00@mail.harveycounty.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: lbottorff@harveycounty.com
  Subject: Re: pg_hba.conf changes have no effect on cygwin/NT 4.0
  In-Reply-To: <86256A00.007876CB.00@mail.harveycounty.com>
  References: <86256A00.007876CB.00@mail.harveycounty.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox