This commit is contained in:
blue-lemon0104
2026-04-07 13:35:22 +08:00
commit 0120fa9ce3
1530 changed files with 424864 additions and 0 deletions

17
db_include/common/link-canary.h Executable file
View File

@@ -0,0 +1,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 */