mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Add a GUC to report whether data page checksums are enabled.
Bernd Helmle
This commit is contained in:
@ -466,6 +466,7 @@ static int max_identifier_length;
|
||||
static int block_size;
|
||||
static int segment_size;
|
||||
static int wal_block_size;
|
||||
static bool data_checksums;
|
||||
static int wal_segment_size;
|
||||
static bool integer_datetimes;
|
||||
static int effective_io_concurrency;
|
||||
@ -1457,6 +1458,17 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"data_checksums", PGC_INTERNAL, PRESET_OPTIONS,
|
||||
gettext_noop("Shows whether data checksums are turned on for this cluster"),
|
||||
NULL,
|
||||
GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
|
||||
},
|
||||
&data_checksums,
|
||||
false,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
/* End-of-list marker */
|
||||
{
|
||||
{NULL, 0, 0, NULL, NULL}, NULL, false, NULL, NULL, NULL
|
||||
|
Reference in New Issue
Block a user