]> granicus.if.org Git - postgresql/commit
I had a need to read such things as the backend locale and the catalog
authorBruce Momjian <bruce@momjian.us>
Fri, 23 Feb 2001 20:38:35 +0000 (20:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 23 Feb 2001 20:38:35 +0000 (20:38 +0000)
commitb25e60d8874e5a32faa43493f95027ff85fcee76
treec0daf580a7865dae85b7aa8a5697e77f16798564
parente74ce0a566bd0b9b9a2d48a27d1f1ac0c422a94a
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
contrib/README
contrib/pg_controldata/Makefile [new file with mode: 0644]
contrib/pg_controldata/README.pg_controldata [new file with mode: 0644]
contrib/pg_controldata/pg_controldata [new file with mode: 0755]
contrib/pg_controldata/pg_controldata.c [new file with mode: 0644]
contrib/pg_controldata/pg_controldata.o [new file with mode: 0644]