]> granicus.if.org Git - postgresql/blob - src/include/storage/backendid.h
First phase of project to use fixed OIDs for all system catalogs and
[postgresql] / src / include / storage / backendid.h
1 /*-------------------------------------------------------------------------
2  *
3  * backendid.h
4  *        POSTGRES backend id communication definitions
5  *
6  *
7  * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/storage/backendid.h,v 1.17 2004/12/31 22:03:42 pgsql Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef BACKENDID_H
15 #define BACKENDID_H
16
17 /* ----------------
18  *              -cim 8/17/90
19  * ----------------
20  */
21 typedef int BackendId;                  /* unique currently active backend
22                                                                  * identifier */
23
24 #define InvalidBackendId                (-1)
25
26 extern BackendId MyBackendId;   /* backend id of this backend */
27
28 #endif   /* BACKENDID_H */