pgsql: Adjust basebackup.c to suppress compiler warnings.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust basebackup.c to suppress compiler warnings.
Date: 2011-01-11 18:42:12
Message-ID: E1PcjAa-0004wk-PY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e6dce4e439e1d271dad9a95bc4b94147be2fc39a

Modified Files
--------------
src/backend/replication/basebackup.c | 54 ++++++++++++++++++++-------------
1 files changed, 33 insertions(+), 21 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-01-11 19:06:39 Re: pgsql: Adjust basebackup.c to suppress compiler warnings.
Previous Message Tom Lane 2011-01-11 17:59:36 Re: autogenerating error code lists (was Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.)