aboutsummaryrefslogtreecommitdiff
path: root/src/port/pqsignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/pqsignal.c')
-rw-r--r--src/port/pqsignal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/pqsignal.c b/src/port/pqsignal.c
index 6cb0320edb1..ab8d83d3009 100644
--- a/src/port/pqsignal.c
+++ b/src/port/pqsignal.c
@@ -35,6 +35,10 @@
* Set up a signal handler, with SA_RESTART, for signal "signo"
*
* Returns the previous handler.
+ *
+ * Note: the actual name of this function is either pqsignal_fe when
+ * compiled with -DFRONTEND, or pqsignal when compiled without that.
+ * This is to avoid a name collision with libpq's legacy-pqsignal.c.
*/
pqsigfunc
pqsignal(int signo, pqsigfunc func)