pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re:
3+ messages / 3 participants
[nested] [flat]

* (no subject)
@ 2004-04-06 05:27 Colm De Barra <colm@aruke.com>
  2004-03-15 06:08 ` Re: Bruno Wolff III <bruno@wolff.to>
  2004-03-18 18:41 ` Re: Jonathan Gardner <jgardner@jonathangardner.net>
  0 siblings, 2 replies; 3+ messages in thread

From: Colm De Barra @ 2004-04-06 05:27 UTC (permalink / raw)
  To: pgsql-admin

Hey,

I don't know if this is possible but maybe someone here
will know. 

I compiled version 7.4.1 of postgres and added a specially
patched version of postgis which allows me to store and retrieve
spatial data.

I have another postgres installation (version 7.3 I think) on 
another machine which has all my map data stored on it, but doesn't
have the special patched version of postgis.

The data is huge - well over 50 gigs - so theres no way I want to have
to copy all the data onto the new box. Is there any way I can point the
new installation at the tables on the old installation ?? 

Thanks
Colm De Barra




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When I found the skull in the woods, the first thing I 
did was call the police. But then I got curious about it. 
I picked it up, and started wondering who this person was, and 
why he had deer horns. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     My Website  : http://www.angelfire.com/ia/japan/
     BoomBox     : http://www.b00mb0x.org 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

* Re:
  2004-04-06 05:27 (no subject) Colm De Barra <colm@aruke.com>
@ 2004-03-15 06:08 ` Bruno Wolff III <bruno@wolff.to>
  1 sibling, 0 replies; 3+ messages in thread

From: Bruno Wolff III @ 2004-03-15 06:08 UTC (permalink / raw)
  To: Colm De Barra <colm@aruke.com>; +Cc: pgsql-admin

On Tue, Apr 06, 2004 at 14:27:05 +0900,
  Colm De Barra <colm@aruke.com> wrote:
> Hey,
> 
> I don't know if this is possible but maybe someone here
> will know. 
> 
> I compiled version 7.4.1 of postgres and added a specially
> patched version of postgis which allows me to store and retrieve
> spatial data.
> 
> I have another postgres installation (version 7.3 I think) on 
> another machine which has all my map data stored on it, but doesn't
> have the special patched version of postgis.
> 
> The data is huge - well over 50 gigs - so theres no way I want to have
> to copy all the data onto the new box. Is there any way I can point the
> new installation at the tables on the old installation ?? 

No. You need to do a dump and restore.

You can only avoid a dump and restore when upgrading in the same series
(e.g. 7.3.2 -> 7.3.5) and if you use the same configuration options
when building the package.

If you are really asking if you can make cross database references, dblink
might let you do that. I don't know if it is restricted to other databases
in the same cluster or if you can connect to any database (in which case
it should be usable).

There have been some discussions about making upgrades smoother. I think
that things might improve after 7.5.



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

* Re:
  2004-04-06 05:27 (no subject) Colm De Barra <colm@aruke.com>
@ 2004-03-18 18:41 ` Jonathan Gardner <jgardner@jonathangardner.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Jonathan Gardner @ 2004-03-18 18:41 UTC (permalink / raw)
  To: Colm De Barra <colm@aruke.com>; +Cc: pgsql-admin

On Monday 05 April 2004 10:27 pm, Colm De Barra wrote:
> Hey,
>
> I don't know if this is possible but maybe someone here
> will know.
>
> I compiled version 7.4.1 of postgres and added a specially
> patched version of postgis which allows me to store and retrieve
> spatial data.
>
> I have another postgres installation (version 7.3 I think) on
> another machine which has all my map data stored on it, but doesn't
> have the special patched version of postgis.
>
> The data is huge - well over 50 gigs - so theres no way I want to have
> to copy all the data onto the new box. Is there any way I can point the
> new installation at the tables on the old installation ??
>

50 Gigs is a lot. I would just do a direct pipe from dump to psql. You'll 
need two servers (or two clusters running on one server) -- the old one and 
the new one.

It'll look like this:
$ pg_dumpall (old database options) | psql (new database options) template1

-- 
Jonathan Gardner
jgardner@jonathangardner.net



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


end of thread, other threads:[~2004-04-06 05:27 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 05:27  Colm De Barra <colm@aruke.com>
2004-03-15 06:08 ` Bruno Wolff III <bruno@wolff.to>
2004-03-18 18:41 ` Jonathan Gardner <jgardner@jonathangardner.net>

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