On Dec 28, 11:41 am, Iñaki Baz Castillo <[email protected]> wrote: > El Lunes, 28 de Diciembre de 2009, Iñaki Baz Castillo escribió: > > > I've checked 'pg' driver separately. When the conenction is lost (i.e. DB > > restart) a new "connect" is required: > > Well, nothing new as it's the same as with mysql driver. > However Sequel reacts when mysql connection is lost.
First, If you plan on doing additional investigating, please refrain from posting until you have a complete issue report. Posting 6 separate responses each with new information just makes my job more difficult. :) Second, this is a bug. Sequel should be converting the PGErrors to Sequel::DatabaseErrors, and if possible, recognizing which errors indicate disconnection, and removing those connections from the pool (by raising Sequel::DatabaseDisconnectError). Try the patch at http://pastie.org/759309.txt and let me know if it fixes the errors. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" 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/sequel-talk?hl=en.
