pg_hba.conf problem

From: JWDougherty <jwdougherty(at)mcihispeed(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: pg_hba.conf problem
Date: 2004-02-20 03:07:10
Message-ID: 200402191907.10739.jwdougherty@mcihispeed.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I have run into a problem with the vanilla pg_hba.conf with 7.34. While most
normal local operations work as they ought, I found that when attempting use
postgresqs from GRASS that an error was returned due to a problem with the
pg_hba.conf file. The error message is:

LOG: parse_hba: invalid syntax in pg_hba.conf file at line 45, token "TYPE"
FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for details

The problem is that line 45 reads as follows:

# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD

It seems to be a comment describing the datastructure that follows it. This
is the basic pg_hba.conf that is created when initdb is run and has not been
modified in any way.

I am running grass on the same system that I am running postgresql on and
there are no networking issues that I need to resolve, or at least I don't
think so.

John

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-02-20 04:30:41 Re: psql hangs after "drop table ..."
Previous Message David B 2004-02-20 02:35:43 Row counts/data changes. Any catalog table that has this info?