PostgreSQL Source Code  git master
link-canary.c File Reference
#include "c.h"
#include "common/link-canary.h"
Include dependency graph for link-canary.c:

Go to the source code of this file.


bool pg_link_canary_is_frontend (void)

Function Documentation

◆ pg_link_canary_is_frontend()

bool pg_link_canary_is_frontend ( void  )

Definition at line 29 of file link-canary.c.

30 {
31 #ifdef FRONTEND
32  return true;
33 #else
34  return false;
35 #endif
36 }

Referenced by BootstrapModeMain(), and pqConnectDBStart().