pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Access PGDATA from different servers
2+ messages / 2 participants
[nested] [flat]

* Access PGDATA from different servers
@ 2003-01-22 01:58 Minghann Ho <mho@mcs.vuw.ac.nz>
  2003-01-22 21:58 ` Re: Access PGDATA from different servers Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Minghann Ho @ 2003-01-22 01:58 UTC (permalink / raw)
  To: pgsql-admin

Hi 

One question about Postgresql admin:

On "A server", I use "initdb" to create a database cluster PGDATA on a "file 
server".

Can I logon to other server, say "B Server" and start Postmaster using the 
database cluster PGDATA which I created from "A Server". 

I tried to do this, but got a msg say:

FATAL 2:  The database cluster was initialized with PG_CONTROL_VERSION 
1191182336,
	but the server was compiled with PG_CONTROL_VERSION 71.
	It looks like you need to initdb.

Please can someone give me a hint. 

Thanks.
Hans



  



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

* Re: Access PGDATA from different servers
  2003-01-22 01:58 Access PGDATA from different servers Minghann Ho <mho@mcs.vuw.ac.nz>
@ 2003-01-22 21:58 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-01-22 21:58 UTC (permalink / raw)
  To: Minghann Ho <mho@mcs.vuw.ac.nz>; +Cc: pgsql-admin

Minghann Ho <mho@mcs.vuw.ac.nz> writes:
> Can I logon to other server, say "B Server" and start Postmaster using the 
> database cluster PGDATA which I created from "A Server". 

Not when they're not the same machine architecture.

> I tried to do this, but got a msg say:
> FATAL 2:  The database cluster was initialized with PG_CONTROL_VERSION 
> 1191182336,
> 	but the server was compiled with PG_CONTROL_VERSION 71.
> 	It looks like you need to initdb.

Looks like the two machines don't even have the same byte endianness.

			regards, tom lane



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


end of thread, other threads:[~2003-01-22 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 01:58 Access PGDATA from different servers Minghann Ho <mho@mcs.vuw.ac.nz>
2003-01-22 21:58 ` Tom Lane <tgl@sss.pgh.pa.us>

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