Re: How to determine initdb parameters on old database? - Mailing list pgsql-general

From brian
Subject Re: How to determine initdb parameters on old database?
Date
Msg-id 453C72C9.4080502@zijn-digital.com
Whole thread Raw
In response to Re: How to determine initdb parameters on old database?  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
List pgsql-general
Joost Kraaijeveld wrote:
> On Mon, 2006-10-23 at 02:11 -0400, brian wrote:
>
>
>>pg_controldata - display control information of a PostgreSQL database
>>cluster
>>
>>pg_controldata [ datadir ]
>
> I was hoping for the actual command but this suggests deduction ;-)
>

That is it.

given:

PG_DIR=/usr/local/pgsql

do:

$PG_DIR/bin/pg_controldata $PG_DIR/data

or:

man pg_controldata

brian

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Overload after some minutes, please help!
Next
From: "Albe Laurenz"
Date:
Subject: Re: strange encoding behavior