Skip to content

Commit 91305b2

Browse files
author
Alexander Korotkov
committed
Fix work with GUC table.
1 parent e6cd530 commit 91305b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

collector.c

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "storage/shm_mq.h"
2020
#include "storage/shm_toc.h"
2121
#include "storage/spin.h"
22-
#include "utils/guc.h"
2322
#include "utils/memutils.h"
2423
#include "utils/resowner.h"
2524

pg_wait_sampling.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "utils/builtins.h"
2424
#include "utils/datetime.h"
2525
#include "utils/guc.h"
26+
#include "utils/guc_tables.h"
2627

2728
#include "pg_wait_sampling.h"
2829

@@ -124,7 +125,7 @@ setup_gucs()
124125
}
125126
else if (!strcmp(name, "pg_wait_sampling.profile_period"))
126127
{
127-
history_skip_latch_found = true;
128+
profile_period_found = true;
128129
var->integer.variable = &collector_hdr->profilePeriod;
129130
}
130131
}

0 commit comments

Comments
 (0)