Backport fix from HEAD that makes ecpglib give the right SQLSTATE if the connection disappears.

Michael Meskes <meskes@postgresql.org>

Commit: 2bf64bc275a9c173dbecae60e7ceaf3327f96db0
Author: Michael Meskes <meskes@postgresql.org>
Date: 2010-03-08T13:07:00Z
Releases: 8.4.3
Backport fix from HEAD that makes ecpglib give the right SQLSTATE if the connection disappears.

Files

PathChange+/−
src/interfaces/ecpg/ecpglib/error.c modified +12 −1