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
: int = 3¶ Specifies the entry has no data
-
pgdumplib.constants.
K_OFFSET_POS_NOT_SET
: int = 1¶ Specifies the entry has data but no offset
-
pgdumplib.constants.
K_OFFSET_POS_SET
: int = 2¶ Specifies the entry has data and an offset
-
pgdumplib.constants.
MAX_VER
: Tuple[int, int, int] = (1, 14, 0)¶ The maximum supported version of pg_dump files ot support
-
pgdumplib.constants.
MIN_VER
: Tuple[int, int, int] = (1, 12, 0)¶ The minumum supported version of pg_dump files ot support
-
pgdumplib.constants.
SECTION_DATA
: str = 'DATA'¶ Data section for an entry in a dump’s table of contents
-
pgdumplib.constants.
SECTION_NONE
: str = 'None'¶ Non-specific section for an entry in a dump’s table of contents
-
pgdumplib.constants.
SECTION_POST_DATA
: str = 'Post-Data'¶ Post-data section for an entry in a dump’s table of contents
-
pgdumplib.constants.
SECTION_PRE_DATA
: str = 'Pre-Data'¶ Pre-data section for an entry in a dump’s table of contents
-
pgdumplib.constants.
VERSION
: Tuple[int, int, int] = (1, 12, 0)¶ pg_dump file format version to create by default