pd_dump server mismatch error - Mailing list pgsql-admin

From Thara Vadakkeveedu
Subject pd_dump server mismatch error
Date
Msg-id 1380135305.67283.YahooMailNeo@web125005.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: accidentally deleted data directory  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Responses Re: pd_dump server mismatch error  (Alejandro Brust <alejandrob@pasteleros.org.ar>)
List pgsql-admin

Hi
I wanted to take a backup of my database.

pg_dump throws a server mismatch version error

# cd backups
# su - postgres
-bash-4.1$ pg_dump mydb > mydbfile
pg_dump: server version: 9.2.4; pg_dump version: 8.4.13
pg_dump: aborting because of server version mismatch

This is a fresh install of postgresql on a red hat linux server that did not have any previous database installed on it . I installed postgresql 9.2 from an rpm (pgdg-redhat92-9.2-7.noarch.rpm ) using yum install.

Why am I seeing this error?
How can I take a backup of my database? There are two tables that have 20,000+ rows in it, that I want to backup  and restore when needed.

thanks
thara.

pgsql-admin by date:

Previous
From: Thara Vadakkeveedu
Date:
Subject: Re: connecting to the database from pgadmin client
Next
From: Alejandro Brust
Date:
Subject: Re: pd_dump server mismatch error