Skip site navigation (1) Skip section navigation (2)

Re: Postgres client Configuration

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>,"Napolean Periathambi" <Napolean(dot)Periathambi(at)VSOFTCORP(dot)COM>
Subject: Re: Postgres client Configuration
Date: 2008-09-24 18:29:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
>>> Napolean Periathambi <Napolean(dot)Periathambi(at)VSOFTCORP(dot)COM> wrote: 
> Is there any ways to include wildcard in pg_hba.conf file to accept
> postgres clients on the network rather than specifying specific IP
> on this file?
# CIDR-ADDRESS specifies the set of hosts the record matches.
# It is made up of an IP address and a CIDR mask that is an integer
# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
# the number of significant bits in the mask.  Alternatively, you can
# an IP address and netmask in separate columns to specify the set of
In other words, it says how many bits of the IP address need to match.
For example:

# "local" is for Unix domain socket connections only
local   all         postgres                          ident sameuser
local   cir         all                               md5

# IPv4 local connections:
host    cir         all          md5
# IPv6 local connections:
host    cir         all         ::1/128               md5

# Programmer/analyst network segment
host    cir         all       md5
# STEP network segment
host    cir         all       md5
# TECH network segment
host    cir         all       md5


In response to

pgsql-admin by date

Next:From: BJ TaylorDate: 2008-09-24 18:32:12
Subject: missing chunk number 0 for toast value
Previous:From: Carol WalterDate: 2008-09-24 18:09:42
Subject: Re: Missing pg_clog files

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group