* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pg_store_plan.c
+ * pg_store_plans/pg_store_plans.c
*
*-------------------------------------------------------------------------
*/
/* 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)
#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;
}
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;
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pgsp_explain.c
+ * pg_store_plans/pgsp_explain.c
*
*-------------------------------------------------------------------------
*/
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pgsp_explain.h
+ * pg_store_plans/pgsp_explain.h
*
*-------------------------------------------------------------------------
*/
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pgsp_json.c
+ * pg_store_plans/pgsp_json.c
*
*-------------------------------------------------------------------------
*/
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pgsp_json.h
+ * pg_store_plans/pgsp_json.h
*
*-------------------------------------------------------------------------
*/
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
* IDENTIFICATION
- * pg_store_plan/pgsp_json_int.h
+ * pg_store_plans/pgsp_json_int.h
*
*-------------------------------------------------------------------------
*/
/*-------------------------------------------------------------------------
*
- * 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
*
*-------------------------------------------------------------------------
*/
/*-------------------------------------------------------------------------
*
- * 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
*
*-------------------------------------------------------------------------
*/