Header And Logo

PostgreSQL
| The world's most advanced open source database.

backendid.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * backendid.h
00004  *    POSTGRES backend id communication definitions
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/storage/backendid.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef BACKENDID_H
00015 #define BACKENDID_H
00016 
00017 /* ----------------
00018  *      -cim 8/17/90
00019  * ----------------
00020  */
00021 typedef int BackendId;          /* unique currently active backend identifier */
00022 
00023 #define InvalidBackendId        (-1)
00024 
00025 extern PGDLLIMPORT BackendId MyBackendId;       /* backend id of this backend */
00026 
00027 #endif   /* BACKENDID_H */