OSDN Git Service

Don't use the long-obsolete LWLockId type
authorKyotaro Horiguchi <horikyota.ntt@gmail.com>
Mon, 22 Nov 2021 05:52:13 +0000 (14:52 +0900)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Thu, 25 Nov 2021 10:37:02 +0000 (19:37 +0900)
pg_store_plans.c

index 8c4f693..620ff27 100644 (file)
@@ -149,7 +149,7 @@ typedef struct StatEntry
  */
 typedef struct SharedState
 {
-       LWLockId        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;