OSDN Git Service

Fix misspelling of pg_store_plans
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 22 Jan 2019 09:18:40 +0000 (18:18 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 22 Jan 2019 09:20:33 +0000 (18:20 +0900)
In many places in the files pg_store_plans is misspelled as
pg_store_plan. Fix all of them.

pg_store_plans.c
pgsp_explain.c
pgsp_explain.h
pgsp_json.c
pgsp_json.h
pgsp_json_int.h
pgsp_json_text.c
pgsp_json_text.h

index c9787a2..0669a57 100644 (file)
@@ -26,7 +26,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pg_store_plan.c
+ *       pg_store_plans/pg_store_plans.c
  *
  *-------------------------------------------------------------------------
  */
@@ -60,7 +60,7 @@ PG_MODULE_MAGIC;
 
 /* This constant defines the magic number in the stats file header */
 static const uint32 PGSP_FILE_HEADER = 0x20180613;
-static const uint32 pg_store_plan_size = 5000;
+static const uint32 store_plan_size = 5000;
 
 /* XXX: Should USAGE_EXEC reflect execution time and/or buffer usage? */
 #define USAGE_EXEC(duration)   (1.0)
@@ -509,7 +509,7 @@ pgsp_shmem_startup(void)
 #else
                shared_state->lock = LWLockAssign();
 #endif
-               shared_state->plan_size = pg_store_plan_size;
+               shared_state->plan_size = store_plan_size;
                shared_state->cur_median_usage = ASSUMED_MEDIAN_INIT;
        }
 
@@ -1256,7 +1256,7 @@ shared_mem_size(void)
        Size            entrysize;
 
        size = MAXALIGN(sizeof(SharedState));
-       entrysize = offsetof(StatEntry, plan) +  pg_store_plan_size;
+       entrysize = offsetof(StatEntry, plan) +  store_plan_size;
        size = add_size(size, hash_estimate_size(store_size, entrysize));
 
        return size;
index da11ca5..37a7742 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_explain.c
+ *       pg_store_plans/pgsp_explain.c
  *
  *-------------------------------------------------------------------------
  */
index bbf649f..654fd03 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_explain.h
+ *       pg_store_plans/pgsp_explain.h
  *
  *-------------------------------------------------------------------------
  */
index b528bba..526da09 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_json.c
+ *       pg_store_plans/pgsp_json.c
  *
  *-------------------------------------------------------------------------
  */
index 80a2293..ce3965c 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_json.h
+ *       pg_store_plans/pgsp_json.h
  *
  *-------------------------------------------------------------------------
  */
index 66758f5..fef0a7b 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_json_int.h
+ *       pg_store_plans/pgsp_json_int.h
  *
  *-------------------------------------------------------------------------
  */
index be8db61..a772c23 100644 (file)
@@ -1,11 +1,11 @@
 /*-------------------------------------------------------------------------
  *
- * pgsp_json_text.h: Text plan generator for pg_store_plan.
+ * pgsp_json_text.h: Text plan generator for pg_store_plans.
  *
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_json_text.c
+ *       pg_store_plans/pgsp_json_text.c
  *
  *-------------------------------------------------------------------------
  */
index fb3b49d..2156084 100644 (file)
@@ -1,11 +1,11 @@
 /*-------------------------------------------------------------------------
  *
- * pgsp_json_text.h: Defenitions for text plan generator for pg_store_plan.
+ * pgsp_json_text.h: Defenitions for text plan generator for pg_store_plans.
  *
  * Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
- *       pg_store_plan/pgsp_json_text.h
+ *       pg_store_plans/pgsp_json_text.h
  *
  *-------------------------------------------------------------------------
  */