Re: Backup/Restore - Mailing list pgadmin-support

From Dave Page
Subject Re: Backup/Restore
Date
Msg-id 456FFC0E.1000405@postgresql.org
Whole thread Raw
In response to Re: Backup/Restore  ("kenp" <kpriest@rm.com>)
List pgadmin-support
kenp wrote:
> Does this imply that pgAdmin picks up a single version of pg_dump and
> pg_restore?
> 
> For example, I have PostgreSQL 8.1.4 and 8.2beta2 installed on my
> machine. I presume the version of pg_dump and pg_restore for each of
> these PostgreSQL versions is different. When I select a database on a
> server, does pgAdmin pick up the verison of pg_dump and pg_restore
> appropriate to that PostgreSQL version?

No, it builds a search path and uses the first copies it finds. It 
differs on Windows, Unix and Mac, but on Windows it will first look in 
the directory that pgAdmin.exe is in, then in any directory that might 
be specified by the most recent installation of PostgreSQL (from 
pgInstaller), and finally will fall back to the normal %PATH%.

The important thing is to make sure you use the most recent pg_dump as 
they're backwards compatible. pgAdmin is always released with the most 
recent stable versions - and if you have a pgInstaller based 
installation, then of course you already have appropriate version.

Regards, Dave


pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Crash in edit grid
Next
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: Re: [SQL] Grants