pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: brook@biology.nmsu.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf and user files
Date: Fri, 27 Feb 2004 01:05:43 -0500
Message-ID: <17104.1077861943@sss.pgh.pa.us> (raw)
In-Reply-To: <16442.27433.659944.973586@viola.nmsu.edu>
References: <16442.27433.659944.973586@viola.nmsu.edu>

<brook@biology.nmsu.edu> writes:
> I am trying to set up pg_hba.conf for PostgreSQL 7.3.  I want to limit
> access to a database from a host to the set of users in a file.  The
> documentation suggests that this is done as follows:

> 	host dbname @user_file 10.0.1.12 255.255.255.255 md5

> However, the postmaster complains of a syntax error for lines such as
> this.

Hm, looks all right to me.  What's the *exact* error message?  Also,
please look in the postmaster's log (stderr or syslog); there may be
more info there than is reported to the client.

			regards, tom lane



view thread (2+ messages)

Message-ID: <17104.1077861943@sss.pgh.pa.us>
Permalink:  ../17104.1077861943@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17104.1077861943@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, brook@biology.nmsu.edu
  Subject: Re: pg_hba.conf and user files
  In-Reply-To: <17104.1077861943@sss.pgh.pa.us>
  References: <16442.27433.659944.973586@viola.nmsu.edu> <17104.1077861943@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