Re: Ubuntu question

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Q Master <theqmaster(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Ubuntu question
Date: 2008-05-08 07:01:02
Message-ID: 20080508070102.GB16326@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Thu, May 08, 2008 at 01:52:17AM -0500, Q Master wrote:
> I had postgresql 7.4 on ubuntu and over one year ago I moved to 8.2
> Till now I was backing up my db via pgadmin remotely from windows but
> now I want to do it from the ubuntu server.

I suggest looking at the README.Debian for postgres, it contains much
important information you need to understand how multiple concurrently
installed versions work.

> When I run the command pgdump it said that the database is 8.2 but the
> tool is 7.4 - my question is, where in the world is the pgdump for 8.2 -
> I can't find it.
>
> pg_dump, pg_dumpall are all in /usr/bin but where are the 8.2 ones ?

First, check what you have installed with pg_lsclusters (this will give
you the port number). Normally you can specify the cluster directly to
pg_dump but if you want the actual binary go to:

/usr/lib/postgresql/<version>/bin/pg_dump.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2008-05-08 07:47:59 Re: [GENERAL] Ubuntu question
Previous Message Q Master 2008-05-08 06:52:17 Ubuntu question

Browse pgsql-performance by date

  From Date Subject
Next Message Justin 2008-05-08 07:47:59 Re: [GENERAL] Ubuntu question
Previous Message Q Master 2008-05-08 06:52:17 Ubuntu question