5 Apr 2007 11:09
pgsql & ejabberd (svn trunk)
Kevin Jackson <foamdino <at> gmail.com>
2007-04-05 09:09:47 GMT
2007-04-05 09:09:47 GMT
Hi,
I've been trying to make a patch against trunk to refactor the sql
queries out of the erlang code. This is just for my companies
internal use.
I've noticed that the svn trunk version of ejabberd_odbc.erl has a
different arg list for pgsql:connect function calls.
Testing this on my running erlang & ejabberd install with a version
(not sure which but the archive is called 1.0) of pgsql from jungerl I
get the following results:
-SVN Trunk style arg list:
pgsql:connect("localhost", "freelance", "postgres", "", 5432).
=ERROR REPORT==== 5-Apr-2007::15:53:09 ===
Error in process <0.319.0> on node 'ejabberd <at> ubuntu-dev' with exit
value: {undef,[{pgsql,connect,["localhost","freelance","postgres",[],5432]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}
** exited: {undef,[{pgsql,connect,
["localhost","freelance","postgres",[],5432]},
{erl_eval,do_apply,5},
{shell,exprs,6},
{shell,eval_loop,3}]} **
-Old Ejabberd 1.1.3 style arg list:
pgsql:connect("localhost", "freelance", "postgres", "").
Params: [{secret,{9441,528686832}},
(Continue reading)
RSS Feed