Adjust basebackup.c to suppress compiler warnings.

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

Commit: e6dce4e439e1d271dad9a95bc4b94147be2fc39a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-01-11T18:41:13Z
Releases: 9.1.0
Adjust basebackup.c to suppress compiler warnings.

Some versions of gcc complain about "variable `tablespaces' might be
clobbered by `longjmp' or `vfork'" with the original coding.  Fix by
moving the PG_TRY block into a separate subroutine.

Files

PathChange+/−
src/backend/replication/basebackup.c modified +33 −21