Constants

Constants used in the reading and writing of a pg_dump file. There are additional undocumented constants, but they should not be of concern unless you are hacking on the library itself.

pgdumplib.constants.K_OFFSET_NO_DATA = 3

Specifies the entry has no data

pgdumplib.constants.K_OFFSET_POS_NOT_SET = 1

Specifies the entry has data but no offset

pgdumplib.constants.K_OFFSET_POS_SET = 2

Specifies the entry has data and an offset

pgdumplib.constants.MAX_VER = (1, 14, 0)

The maximum supported version of pg_dump files ot support

pgdumplib.constants.MIN_VER = (1, 12, 0)

The minumum supported version of pg_dump files ot support

pgdumplib.constants.SECTION_DATA = 'DATA'

Data section for an entry in a dump’s table of contents

pgdumplib.constants.SECTION_NONE = 'None'

Non-specific section for an entry in a dump’s table of contents

pgdumplib.constants.SECTION_POST_DATA = 'Post-Data'

Post-data section for an entry in a dump’s table of contents

pgdumplib.constants.SECTION_PRE_DATA = 'Pre-Data'

Pre-data section for an entry in a dump’s table of contents

pgdumplib.constants.VERSION = (1, 12, 0)

pg_dump file format version to create by default