Postgres Pro Standard provides memory purge configuration parameters that can automatically replace data with zero bytes before it is deleted. For details, see Section 31.1.
wipe_file_on_delete (boolean)
#Replace a file with zero bytes before it is deleted.
Default: on
wipe_heaptuple_on_delete (boolean)
#Replace a row version with zero bytes before it is deleted.
Default: on
wipe_memctx_on_free (boolean)
#Clear random-access memory before it is freed. This parameter only controls the memory allocated as part of a particular context.
Default: on
wipe_mem_on_free (boolean)
#Clear random-access memory before it is freed. This parameter controls the memory that does not belong to any context.
Default: on
wipe_xlog_on_free (boolean)
#Replace WAL segments with zero bytes before they are deleted or overwritten.
Default: on