Re: [HACKERS] Utility program to read parameters of the current database

2001-02-23 Thread Bruce Momjian
I have added this to /contrib. It meets the needs of several posters. 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. The attached utility produces this output: linda:~$

[HACKERS] Utility program to read parameters of the current database

2001-02-07 Thread Oliver Elphick
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. The attached utility produces this output: linda:~$ pg_controldata Log file id: 0 Log file segment: