Unix Technical Forum

Re: How to determine initdb parameters on old database?

This is a discussion on Re: How to determine initdb parameters on old database? within the Pgsql General forums, part of the PostgreSQL category; --> Joost Kraaijeveld wrote: > Is it possible to find out the parameters used with initdb on an old > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 12:01 PM
brian
 
Posts: n/a
Default Re: How to determine initdb parameters on old database?

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 12:01 PM
Joost Kraaijeveld
 
Posts: n/a
Default Re: How to determine initdb parameters on old database?

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 12:01 PM
brian
 
Posts: n/a
Default Re: How to determine initdb parameters on old database?

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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com