[Haskell-cafe] Re: HDBC-postgresql and safe/unsafe FFI calls

2010-09-03 Thread John Goerzen
On 09/03/2010 06:14 PM, David Powell wrote: Hi John, My current usage of hdbc is in a server process that takes requests from multiple clients, queries the database, and returns a result. Having a single db query block everything else isn't really workable for me. I suspect this will also be a

[Haskell-cafe] Re: HDBC-postgresql and safe/unsafe FFI calls

2010-09-03 Thread David Powell
Hi John, My current usage of hdbc is in a server process that takes requests from multiple clients, queries the database, and returns a result. Having a single db query block everything else isn't really workable for me. I suspect this will also be an issue for others. As an example, the persis

[Haskell-cafe] Re: HDBC-postgresql and safe/unsafe FFI calls

2010-09-02 Thread John Goerzen
Hi David, I've had varying arguments from people that want me to mark things safe or unsafe for various performance reasons. I'm happy to apply your change if you like. Can you send me a diff (and attach your explanation here to it, which I'll use as a commit message for future reference)?