Move pqsignal() to libpgport.

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

Commit: da5aeccf64b37a8e9bd3cb605848590595dbcbf8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-03-17T16:06:42Z
Releases: 9.3.0
Move pqsignal() to libpgport.

We had two copies of this function in the backend and libpq, which was
already pretty bogus, but it turns out that we need it in some other
programs that don't use libpq (such as pg_test_fsync).  So put it where
it probably should have been all along.  The signal-mask-initialization
support in src/backend/libpq/pqsignal.c stays where it is, though, since
we only need that in the backend.

Files