diff options
Diffstat (limited to 'src/include/storage/sinvaladt.h')
| -rw-r--r-- | src/include/storage/sinvaladt.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/storage/sinvaladt.h b/src/include/storage/sinvaladt.h index 778d7a4a2b..ff0a68e25a 100644 --- a/src/include/storage/sinvaladt.h +++ b/src/include/storage/sinvaladt.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/sinvaladt.h,v 1.42 2007/01/05 22:19:58 momjian Exp $ + * $PostgreSQL: pgsql/src/include/storage/sinvaladt.h,v 1.43 2007/09/05 18:10:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -86,6 +86,13 @@ typedef struct SISeg int freeBackends; /* number of empty procState slots */ /* + * Next LocalTransactionId to use for each idle backend slot. We keep + * this here because it is indexed by BackendId and it is convenient to + * copy the value to and from local memory when MyBackendId is set. + */ + LocalTransactionId *nextLXID; /* array of maxBackends entries */ + + /* * Circular buffer holding shared-inval messages */ SharedInvalidationMessage buffer[MAXNUMMESSAGES]; @@ -114,4 +121,6 @@ extern int SIGetDataEntry(SISeg *segP, int backendId, SharedInvalidationMessage *data); extern void SIDelExpiredDataEntries(SISeg *segP); +extern LocalTransactionId GetNextLocalTransactionId(void); + #endif /* SINVALADT_H */ |
