Re: [HACKERS] Determine if an error is transient by its error code.

2017-03-19 Thread Tom Lane
Craig Ringer writes: > On 20 March 2017 at 10:26, Dominick O'Dierno wrote: >> Essentially I want to determine by the error code if it is worth retrying >> the call (transient) or if the error was due to a bad query or programmer >> error, in which case

Re: [HACKERS] Determine if an error is transient by its error code.

2017-03-19 Thread Craig Ringer
On 20 March 2017 at 10:26, Dominick O'Dierno wrote: > Hello folks, > > I'm trying to define a transient fault detection strategy for a client > application when calling a postgres database. > > Essentially I want to determine by the error code if it is worth retrying > the