OSDN Git Service
(root)
/
pgstoreplans
/
pg_store_plans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696027a
)
Don't use the long-obsolete LWLockId type
author
Kyotaro Horiguchi
<horikyota.ntt@gmail.com>
Mon, 22 Nov 2021 05:52:13 +0000
(14:52 +0900)
committer
Kyotaro Horiguchi
<horikyota.ntt@gmail.com>
Thu, 25 Nov 2021 10:37:02 +0000
(19:37 +0900)
pg_store_plans.c
patch
|
blob
|
history
diff --git
a/pg_store_plans.c
b/pg_store_plans.c
index
8c4f693
..
620ff27
100644
(file)
--- a/
pg_store_plans.c
+++ b/
pg_store_plans.c
@@
-149,7
+149,7
@@
typedef struct StatEntry
*/
typedef struct SharedState
{
- LWLock
Id lock;
/* protects hashtable search/modification */
+ LWLock
*lock;
/* protects hashtable search/modification */
int plan_size; /* max query length in bytes */
double cur_median_usage; /* current median usage in hashtable */
} SharedState;