1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 15:42:07 +03:00
fq/format/postgres/pg_control.md

19 lines
449 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
```
2023-05-06 08:54:56 +03:00
### Authors
- Pavel Safonov
p.n.safonov@gmail.com
[@pnsafonov](https://github.com/pnsafonov)
2022-09-23 13:50:54 +03:00
### References
- https://github.com/postgres/postgres/blob/REL_14_2/src/include/catalog/pg_control.h