1
1
mirror of https://github.com/wader/fq.git synced 2024-12-02 04:05:35 +03:00
fq/format/postgres/pg_control.md

14 lines
355 B
Markdown
Raw Normal View History

2022-09-23 13:50:54 +03:00
### Decode content of pg_control file
```sh
$ fq -d pg_control -o flavour=postgres14 d pg_control
```
### Specific fields can be got by request
```sh
$ fq -d pg_control -o flavour=postgres14 ".state, .check_point_copy.redo, .wal_level" pg_control
```
### References
- https://github.com/postgres/postgres/blob/REL_14_2/src/include/catalog/pg_control.h