diff options
| author | Magnus Hagander | 2018-04-09 17:02:42 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2018-04-09 17:03:42 +0000 |
| commit | a228cc13aeabff308d6dfc98a1015865f5393fce (patch) | |
| tree | 4704837fb075ccf7c8e5ecc10f341e527ed0e16d /src/include/postmaster | |
| parent | 03c11796a95cc20a4559a103019d4d22a116a13c (diff) | |
Revert "Allow on-line enabling and disabling of data checksums"
This reverts the backend sides of commit 1fde38beaa0c3e66c340efc7cc0dc272d6254bb0.
I have, at least for now, left the pg_verify_checksums tool in place, as
this tool can be very valuable without the rest of the patch as well,
and since it's a read-only tool that only runs when the cluster is down
it should be a lot safer.
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/checksumhelper.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/include/postmaster/checksumhelper.h b/src/include/postmaster/checksumhelper.h deleted file mode 100644 index 289bf2a9358..00000000000 --- a/src/include/postmaster/checksumhelper.h +++ /dev/null @@ -1,31 +0,0 @@ -/*------------------------------------------------------------------------- - * - * checksumhelper.h - * header file for checksum helper background worker - * - * - * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * src/include/postmaster/checksumhelper.h - * - *------------------------------------------------------------------------- - */ -#ifndef CHECKSUMHELPER_H -#define CHECKSUMHELPER_H - -/* Shared memory */ -extern Size ChecksumHelperShmemSize(void); -extern void ChecksumHelperShmemInit(void); - -/* Start the background processes for enabling checksums */ -bool StartChecksumHelperLauncher(int cost_delay, int cost_limit); - -/* Shutdown the background processes, if any */ -void ShutdownChecksumHelperIfRunning(void); - -/* Background worker entrypoints */ -void ChecksumHelperLauncherMain(Datum arg); -void ChecksumHelperWorkerMain(Datum arg); - -#endif /* CHECKSUMHELPER_H */ |
