mirror of
https://github.com/wader/fq.git
synced 2024-12-02 04:05:35 +03:00
14 lines
355 B
Markdown
14 lines
355 B
Markdown
|
### 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
|