summaryrefslogtreecommitdiffstats
path: root/src/include/common/link-canary.h
blob: acb05b65d9ff804ea5a716c500d5db1a8caef9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*-------------------------------------------------------------------------
 *
 * link-canary.h
 *	  Detect whether src/common functions came from frontend or backend.
 *
 * Copyright (c) 2018-2021, PostgreSQL Global Development Group
 *
 * src/include/common/link-canary.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef LINK_CANARY_H
#define LINK_CANARY_H

extern bool pg_link_canary_is_frontend(void);

#endif							/* LINK_CANARY_H */