pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Ubuntu question
5+ messages / 3 participants
[nested] [flat]

* Ubuntu question
@ 2008-05-08 06:52  Q Master <theqmaster@gmail.com>
  0 siblings, 3 replies; 5+ messages in thread

From: Q Master @ 2008-05-08 06:52 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

Hello,

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.

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 ?

TIA,
Q





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

* Re: Ubuntu question
@ 2008-05-08 07:01  Martijn van Oosterhout <kleptog@svana.org>
  parent: Q Master <theqmaster@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Martijn van Oosterhout @ 2008-05-08 07:01 UTC (permalink / raw)
  To: Q Master <theqmaster@gmail.com>; +Cc: pgsql-general@postgresql.org

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@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.

Attachments:

  signature.asc (application/pgp-signature, 188B) download

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

* Re: [GENERAL] Ubuntu question
@ 2008-05-08 07:47  Justin <justin@emproshunts.com>
  parent: Q Master <theqmaster@gmail.com>
  2 siblings, 1 reply; 5+ messages in thread

From: Justin @ 2008-05-08 07:47 UTC (permalink / raw)
  To: pgsql-performance



Q Master wrote:
> Hello,
>
> 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.
>
> 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 ?
You need to download the pgcontrib package  from ubuntu package site. I
use the gnome package manager from ubuntu to handle this plus it
automatically handles the updates if any apply

>
> TIA,
> Q
>
>
>





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

* Re: Ubuntu question
@ 2008-05-08 07:48  Justin <justin@emproshunts.com>
  parent: Q Master <theqmaster@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Justin @ 2008-05-08 07:48 UTC (permalink / raw)
  To: pgsql-general@postgresql.org



Q Master wrote:
> Hello,
>
> 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.
>
> 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 ?
You need to download the pgcontrib package  from ubuntu package site. I
use the gnome package manager from ubuntu to handle this plus it
automatically handles the updates if any apply

>
> TIA,
> Q
>
>
>







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

* Re: [GENERAL] Ubuntu question
@ 2008-05-08 07:49  Justin <justin@emproshunts.com>
  parent: Justin <justin@emproshunts.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Justin @ 2008-05-08 07:49 UTC (permalink / raw)
  To: pgsql-performance

sorry all i accident cross posted
fat fingered it

Justin wrote:
>
>
> Q Master wrote:
>> Hello,
>>
>> 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.
>>
>> 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 ?
> You need to download the pgcontrib package  from ubuntu package site. I
> use the gnome package manager from ubuntu to handle this plus it
> automatically handles the updates if any apply
>
>>
>> TIA,
>> Q
>>
>>
>>
>
>
>



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


end of thread, other threads:[~2008-05-08 07:49 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-05-08 06:52 Ubuntu question Q Master <theqmaster@gmail.com>
2008-05-08 07:01 ` Martijn van Oosterhout <kleptog@svana.org>
2008-05-08 07:47 ` Justin <justin@emproshunts.com>
2008-05-08 07:49   ` Justin <justin@emproshunts.com>
2008-05-08 07:48 ` Justin <justin@emproshunts.com>

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