Re: [HACKERS] SQLSTATE for Hot Standby cancellation

2010-05-07 Thread Simon Riggs
On Thu, 2010-05-06 at 15:00 +0100, Simon Riggs wrote: On Thu, 2010-05-06 at 12:08 +0200, Yeb Havinga wrote: That's funny because when I was reading this thread, I was thinking the exact opposite: having max_standby_delay always set to 0 so I know the standby server is as up-to-date as

Re: [HACKERS] SQLSTATE for Hot Standby cancellation

2010-05-06 Thread Kevin Grittner
Simon Riggs si...@2ndquadrant.com wrote: We don't have a retryable SQLSTATE, so perhaps we should document that serialization_failure and deadlock_detected are both retryable error conditions. As the above implies HS can throw some errors that are non-retyable, so we use