Skip to content

lhcezar/pg_controldata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORK IN PROGRESS

pg_controldata

Script to extract information from /ControlFileData/ struct (pg_control file).

Build Status

Usage:

pg_control.py --version_number

Usage: pg_control.py [OPTION] [DATADIR]

Options: -control-version show pg_control's versoin number -catalog-version show catalog version -cluster-state database cluster state (shutdown, starting, in production, -help show this help, then exit -version output version information, then exit -last-checkpoint get lastest checkpoint [...]

If no data directory (DATADIR) is specified, the environment variable PGDATA is used. If there is no PGDATA set, exit quietly

About

lib in python to get access to postgres control file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published