diff options
| author | Robert Haas | 2016-02-02 11:42:14 +0000 |
|---|---|---|
| committer | Robert Haas | 2016-02-02 11:45:55 +0000 |
| commit | 7191ce8bea0cb110a28faef178efa92bf456e030 (patch) | |
| tree | 04014e9bfc2ca0dfdb09dec11cd94a2cc84afa81 /src/include/access | |
| parent | 1d0c3b3f8a98b0ed9515ff0a3868266c3bfb5d38 (diff) | |
Make all built-in lwlock tranche IDs fixed.
This makes the values more stable, which seems like a good thing for
anybody who needs to look at at them.
Alexander Korotkov and Amit Kapila
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/slru.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/slru.h b/src/include/access/slru.h index 6c452c8b967..5fcebc52fba 100644 --- a/src/include/access/slru.h +++ b/src/include/access/slru.h @@ -144,7 +144,7 @@ typedef SlruCtlData *SlruCtl; extern Size SimpleLruShmemSize(int nslots, int nlsns); extern void SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns, - LWLock *ctllock, const char *subdir); + LWLock *ctllock, const char *subdir, int tranche_id); extern int SimpleLruZeroPage(SlruCtl ctl, int pageno); extern int SimpleLruReadPage(SlruCtl ctl, int pageno, bool write_ok, TransactionId xid); |
