I can run psql from the shell --
% psql Welcome to psql 7.4.17, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms \h for help with SQL commands ? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit
joe=#
but trying to connect to PostgreSQL with Postmodern currently fails:
CL-USER> (connect-toplevel "joe" "joe" "" "localhost")
Backtrace: 0: (USOCKET::HANDLE-CONDITION #<SB-BSD-SOCKETS:CONNECTION-REFUSED-ERROR {A7CD821}> #<USOCKET:STREAM-USOCKET {A7B8831}>) 1: (USOCKET:SOCKET-CONNECT "localhost" 5432) 2: (CL-POSTGRES::INITIATE-CONNECTION #<DATABASE-CONNECTION {A7B84C9}>) 3: (CL-POSTGRES:OPEN-DATABASE "joe" "joe" "" "localhost" 5432) 4: (CONNECT-TOPLEVEL "joe" "joe" "" "localhost") 5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (CONNECT-TOPLEVEL "joe" "joe" "" "localhost") #<NULL-LEXENV>)
Can you give me any ideas on how to get this connection working? This is a fresh install of Postmodern, but I am using some old ASDF files for dependences, do you think that could be the problem?
On Wed, Nov 14, 2007 at 04:13:15PM -0600, Joe Corneli wrote:
I can run psql from the shell --
% psql Welcome to psql 7.4.17, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms \h for help with SQL commands ? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit
joe=#
but trying to connect to PostgreSQL with Postmodern currently fails:
The psql client will use the Unix socket if available. Is your postgres configured to also listen via TCP?
Zach
Ah, no, it wasn't -- now it is. And that works.
On 11/14/07, Zach Beane xach@xach.com wrote:
On Wed, Nov 14, 2007 at 04:13:15PM -0600, Joe Corneli wrote:
I can run psql from the shell --
% psql Welcome to psql 7.4.17, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms \h for help with SQL commands ? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit
joe=#
but trying to connect to PostgreSQL with Postmodern currently fails:
The psql client will use the Unix socket if available. Is your postgres configured to also listen via TCP?
Zach _______________________________________________ postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel@common-lisp.net