Skip to main content

Module conf_block

Module conf_block 

Source
Expand description

Rendering and splicing of the managed tuning block in postgresql.conf.

The block is a run of key = value lines bounded by a begin and end marker, kept at the end of the file so its settings override any earlier occurrence. Splicing is idempotent: re-applying an unchanged block leaves the file byte for byte identical.

Constants§

BEGIN
Opening marker of the managed block.
END
Closing marker of the managed block.

Functions§

render
Render a tuning set as a marker-delimited block, terminated by a newline.
splice
Return existing with block spliced in.