PostgreSQL Source Code  git master
link-canary.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * link-canary.h
4  * Detect whether src/common functions came from frontend or backend.
5  *
6  * Copyright (c) 2018-2020, PostgreSQL Global Development Group
7  *
8  * src/include/common/link-canary.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef LINK_CANARY_H
13 #define LINK_CANARY_H
14 
15 extern bool pg_link_canary_is_frontend(void);
16 
17 #endif /* LINK_CANARY_H */