I had a need to read such things as the backend locale and the catalog

Bruce Momjian <bruce@momjian.us>

Commit: b25e60d8874e5a32faa43493f95027ff85fcee76
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-02-23T20:38:35Z
Releases: 7.1.1
I had a need to read such things as the backend locale and the catalog
version number from the current database, and couldn't find any existing
program to do that.

linda:~$ pg_controldata
Log file id:                          0
Log file segment:                     5
Last modified:                        Wed Feb  7 19:35:47 2001
Database block size:                  8192
Blocks per segment of large relation: 131072
Catalog version number:               200101061
LC_COLLATE:                           en_GB
LC_CTYPE:                             en_GB
Log archive directory:

Oliver Elphick                                Oliver.Elphick@lfix.co.uk

Files