hi, On Mar 24, 4:01 pm, [EMAIL PROTECTED] wrote: > After some quick debugging, it seems to be stuck on a 'receive' in on > line 78 of psql_connection. What versions of postgres is this module > made for? Perhaps I'm using a new version that doesn't send back a > response.
i was just struggling with erlydb_psql myself today. there are very useful pointers in this blog post: http://www.cestari.info/2007/7/25/erlyweb-et-postgres (albeit in french). it seems you absolutely must use md5 authentication in your pg_hba.conf - i was using trust for connections from localhost and it worked fine for the psql commandline client, but erlydb_psql would just hang as you describe. afterwards it just worked. also, it seems you need to change line 312 of src/erlsql/erlsql.erl from [<<" LIMIT ">>, encode(Offset), $, , encode(Num)]; to [<<" LIMIT ">>, encode(Num),<<" OFFSET ">> , encode(Offset)]; good luck! i am also online on irc as lefant on [EMAIL PROTECTED] if you want to chat. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
