diff options
| author | Robert Haas <rhaas@postgresql.org> | 2015-12-15 11:32:13 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2015-12-15 11:48:19 -0500 |
| commit | 3fed417452b226d9bd85a3a54d7056b06eb14897 (patch) | |
| tree | 69b9cd4377eda27301540f2e1ae24f2dbe02db32 /src/backend/access/spgist/spgvacuum.c | |
| parent | 43cd468cf01007f39312af05c4c92ceb6de8afd8 (diff) | |
Provide a way to predefine LWLock tranche IDs.
It's a bit cumbersome to use LWLockNewTrancheId(), because the returned
value needs to be shared between backends so that each backend can call
LWLockRegisterTranche() with the correct ID. So, for built-in tranches,
use a hard-coded value instead.
This is motivated by an upcoming patch adding further built-in tranches.
Andres Freund and Robert Haas
Diffstat (limited to 'src/backend/access/spgist/spgvacuum.c')
0 files changed, 0 insertions, 0 deletions
