From: | Roy MacGregor Paterson <roy(at)macgregortech(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Postmaster running, psql not SOLVED |
Date: | 2003-12-03 08:51:29 |
Message-ID: | p06010202bbf34f995994@[192.168.1.102] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Thanks for the responses on this issue.
Now up and running, errrr staggering, with PG on MacOS X.
The problem with connecting to Acqua Studio was solved by searching
the PG archives.
In the standard Entropy/Mac OS X build, allowing connections via
TCP/IP is switched off, and the PG documentation is not at all clear
on how to invoke the option. Merely using -i, as implied, doesn't
work in the command-line, as a few other frustrated newbies have
discovered.
Firstly, you have to precede the TCP/IP option -i with the Option
option -o, to tell pg_ctl that you are using options. This does seem
slightly perverse to me.
Secondly, you have to enclose the TCP/IP option in single quotes.
Thirdly, you have to put these options in the correct place relative
to the start command.
This gets you going...
/usr/local/bin/pg_ctl -D /usr/local/pgsql/data -o '-i' start
...or...
pg_ctl -o '-i' start
...once you get the hang of environment variables (see my other postings).
Alternatively, the build setting itself, in the file postgresql.conf,
could be changed from tcpip_socket = false to tcpip_socket = true.
Roy
--
--------------------
Roy MacGregor Paterson
MacGregorTech
t: +44 (0) 20 7584 7891
f: +44 (0) 20 7589 6223
m: +44 (0) 7803 163 938
w: www.macgregortech.com
e: roy(at)macgregortech(dot)com
--------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Mester József | 2003-12-03 09:43:43 | Tables form dbase |
Previous Message | Roy MacGregor Paterson | 2003-12-03 08:29:16 | Failed to create a function SOLVED |