summaryrefslogtreecommitdiffstats
path: root/src/include/common/link-canary.h
blob: 4733cd257f2ecbbbbb7bbc869262653141681e73 (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-2022, 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 */