]> jfr.im git - irc/quakenet/newserv.git/commit
add pqlasterror function for returning connection errors e.g.:
authorPaul <redacted>
Sun, 1 Jul 2007 13:59:23 +0000 (13:59 +0000)
committerPaul <redacted>
Sun, 1 Jul 2007 13:59:23 +0000 (13:59 +0000)
commit47d8702b52d9f0924ef6da861d6991c27172bc1b
tree99627f290fd45196dd959c950a49eca9e6871a13
parent78440a6e99c241fbd0fd85fd61d97852d7c1a3ee
add pqlasterror function for returning connection errors e.g.:
[2007-07-01 13:49:36] info(pqsql): Attempting database connection: host=localhost port=431 dbname=newserv user=newserv password=moo
[2007-07-01 13:49:36] error(pqsql): Unable to connect to db: could not connect to server: Connection refused    Is the server running on host "localhost" and accepting      TCP/IP connections on port 431?
[2007-07-01 13:49:36] info(core): Loaded module pqsql OK.
pqsql/pqsql.c
pqsql/pqsql.h