pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: lbottorff@harveycounty.com
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf changes have no effect on cygwin/NT 4.0
Date: Tue, 27 Feb 2001 17:29:10 -0500
Message-ID: <13175.983312950@sss.pgh.pa.us> (raw)
In-Reply-To: <86256A00.007876CB.00@mail.harveycounty.com>
References: <86256A00.007876CB.00@mail.harveycounty.com>

lbottorff@harveycounty.com writes:
> Any other lines in pg_hba.conf don't seem to work,

Hmm.  Forgive me for asking the obvious, but are you sure you are
editing the same copy of pg_hba.conf that the postmaster is looking at?

> 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.

It is not necessary to restart the postmaster after changing pg_hba.conf
(because it's re-read on each connect request ... inelegant, but
effective ...).

Perhaps cygwin/NT is doing something weird that causes the updated file
not to be seen?

Also, it might be a good idea to be sure you are saving the file with
Unix-ish newlines, not DOS-ish.  Not sure whether our pg_hba reader code
will treat \r as whitespace or not.

			regards, tom lane



view thread (2+ messages)

Message-ID: <13175.983312950@sss.pgh.pa.us>
Permalink:  ../13175.983312950@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13175.983312950@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, lbottorff@harveycounty.com
  Subject: Re: pg_hba.conf changes have no effect on cygwin/NT 4.0
  In-Reply-To: <13175.983312950@sss.pgh.pa.us>
  References: <86256A00.007876CB.00@mail.harveycounty.com> <13175.983312950@sss.pgh.pa.us>

* 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