OSDN Git Service

Follow new shared memory request convention since PG15
[pgstoreplans/pg_store_plans.git] / pgsp_json_text.h
index 2584957..a01ba71 100644 (file)
@@ -2,7 +2,7 @@
  *
  * pgsp_json_text.h: Defenitions for text plan generator for pg_store_plans.
  *
- * Copyright (c) 2012-2020, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+ * Copyright (c) 2012-2021, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
  *
  * IDENTIFICATION
  *       pg_store_plans/pgsp_json_text.h
@@ -100,7 +100,14 @@ typedef struct
        const char *workers_planned;
        const char *workers_launched;
        bool            inner_unique;
+       bool            async_capable;
        const char *table_func_name;
+       StringInfo      presorted_key;
+       StringInfo      sortmethod_used;
+       const char *sortspace_mem;
+       const char *group_count;
+       const char *avg_sortspc_used;
+       const char *peak_sortspc_used;
 
        const char *tmp_obj_name;
        const char *tmp_schema_name;
@@ -219,4 +226,11 @@ SETTERDECL(worker_number);
 SETTERDECL(workers_planned);
 SETTERDECL(workers_launched);
 SETTERDECL(inner_unique);
+SETTERDECL(async_capable);
 SETTERDECL(table_func_name);
+SETTERDECL(presorted_key);
+SETTERDECL(sortmethod_used);
+SETTERDECL(sortspace_mem);
+SETTERDECL(group_count);
+SETTERDECL(avg_sortspc_used);
+SETTERDECL(peak_sortspc_used);