pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to determine initdb parameters on old database?
4+ messages / 2 participants
[nested] [flat]

* How to determine initdb parameters on old database?
@ 2006-10-23 05:54  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 4+ messages in thread

From: Joost Kraaijeveld @ 2006-10-23 05:54 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; +Cc: pgsql-admin

Is it possible to find out the parameters used with initdb on an old
database or is this a matter of deduction?

TIA

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: How to determine initdb parameters on old database?
@ 2006-10-23 06:11  brian <brian@zijn-digital.com>
  parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 4+ messages in thread

From: brian @ 2006-10-23 06:11 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

Joost Kraaijeveld wrote:
> Is it possible to find out the parameters used with initdb on an old
> database or is this a matter of deduction?
> 
> TIA
> 

pg_controldata - display control information of a PostgreSQL database 
cluster

pg_controldata [ datadir ]

brian



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: How to determine initdb parameters on old database?
@ 2006-10-23 06:22  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  parent: brian <brian@zijn-digital.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Joost Kraaijeveld @ 2006-10-23 06:22 UTC (permalink / raw)
  To: brian <brian@zijn-digital.com>; +Cc: pgsql-general@postgresql.org

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 ;-)

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: How to determine initdb parameters on old database?
@ 2006-10-23 07:44  brian <brian@zijn-digital.com>
  parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 0 replies; 4+ messages in thread

From: brian @ 2006-10-23 07:44 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2006-10-23 07:44 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23 05:54 How to determine initdb parameters on old database? Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
2006-10-23 06:11 ` brian <brian@zijn-digital.com>
2006-10-23 06:22   ` Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
2006-10-23 07:44     ` brian <brian@zijn-digital.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox