Make libpq_gettext save and restore errno in a Windows-compatible way.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a646e4874a1e792a3261a8087833e04b9715ac1d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-07-08T15:24:53Z
Releases: 8.0.4
Make libpq_gettext save and restore errno in a Windows-compatible way.
Also, back-patch fix into back branches.

Files

PathChange+/−
src/interfaces/libpq/fe-misc.c modified +16 −4