pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_hba.conf on win32
4+ messages / 4 participants
[nested] [flat]

* pg_hba.conf on win32
@ 2002-10-28 21:48  David Bear <iddwb@moroni.pp.asu.edu>
  0 siblings, 2 replies; 4+ messages in thread

From: David Bear @ 2002-10-28 21:48 UTC (permalink / raw)
  To: pgsql-admin

We have a system that someone setup on cygwin.  We are trying to locate where 
the pg_hba.conf file is and found one but it doesn't seem that it is being 
used.

How might we (1) locate which pg_hba.conf file postgres uses on cygwin and (2) 
where pg is storing the data.  I looked into the environment but couldn't 
find anything there.

Also, since postgres starts as a windows service, how does one put commandline 
parms on the postmaster so that it listens to a socket.  Sorry about the 
newbie questions but all the docs I found point to runing pg on various 
unicies. 
-- 
David Bear
College of Public Programs/ASU



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_hba.conf on win32
@ 2002-10-30 13:36  dima <_pppp@mail.ru>
  parent: David Bear <iddwb@moroni.pp.asu.edu>
  1 sibling, 0 replies; 4+ messages in thread

From: dima @ 2002-10-30 13:36 UTC (permalink / raw)
  To: david.bear@asu.edu; +Cc: pgsql-admin

 > How might we (1) locate which pg_hba.conf file postgres uses on 
cygwin and (2)
 > where pg is storing the data.  I looked into the environment but 
couldn't
 > find anything there.
1) try to copy pg_hba.conf.sample or pg_hba.conf (wherever it is @ your 
host) to $PGHOME/data & edit it then.
2) database directories should be either @ $PGHOME/data/base or @ 
/var/lib/pgsql/data/base. well, i run postgresql on freebsd & so i don't 
have a default directory for my databases; i use the one i ran initdb on 
instead.

 > Also, since postgres starts as a windows service, how does one put 
commandline
 > parms on the postmaster so that it listens to a socket.  Sorry about the
 > newbie questions but all the docs I found point to runing pg on various
 > unicies.
try to figure out what control_panel->services item contains ;)
it can be in the registry as well. i don't remember for sure since i 
didn't use ms windows intenssively for about 5 years already.

try the following link for info on installing & tuning postgresql on ms 
windows.
http://www.gnumed.org/documentation/user-manual/win9x.html





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_hba.conf on win32
@ 2002-10-30 18:53  Peter Eisentraut <peter_e@gmx.net>
  parent: David Bear <iddwb@moroni.pp.asu.edu>
  1 sibling, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2002-10-30 18:53 UTC (permalink / raw)
  To: david.bear@asu.edu; +Cc: pgsql-admin

David Bear writes:

> Also, since postgres starts as a windows service, how does one put commandline
> parms on the postmaster so that it listens to a socket.  Sorry about the
> newbie questions but all the docs I found point to runing pg on various
> unicies.

Consider reading the Administrator's Guide.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_hba.conf on win32
@ 2002-11-03 00:00  working4aliving <working4aliving@hotmail.com>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 4+ messages in thread

From: working4aliving @ 2002-11-03 00:00 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

check out "un remming" a line in postgresql.conf (clue... the line has to do
with tcp/ip and it has the word false, which should be changed to true)

By the way, don't think that if it runs as a windows service, you can't pass
command line parms to it.


----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: <david.bear@asu.edu>
Cc: "pglist" <pgsql-admin@postgresql.org>
Sent: Wednesday, October 30, 2002 1:53 PM
Subject: Re: [ADMIN] pg_hba.conf on win32


> David Bear writes:
>
> > Also, since postgres starts as a windows service, how does one put
commandline
> > parms on the postmaster so that it listens to a socket.  Sorry about the
> > newbie questions but all the docs I found point to runing pg on various
> > unicies.
>
> Consider reading the Administrator's Guide.
>
> --
> Peter Eisentraut   peter_e@gmx.net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-11-03 00:00 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-28 21:48 pg_hba.conf on win32 David Bear <iddwb@moroni.pp.asu.edu>
2002-10-30 13:36 ` dima <_pppp@mail.ru>
2002-10-30 18:53 ` Peter Eisentraut <peter_e@gmx.net>
2002-11-03 00:00   ` working4aliving <working4aliving@hotmail.com>

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