On Thu, Jan 29, 2009 at 03:31:24PM +0530, Geetha Rao wrote:
>     I have installed Dspace 1.5 on RedHat 9 with Postgresql 8.1. When i
> tried to use the command "pg_dump" , the following error is displayed:
> 
> *pg_dump: server version:      ; pg_dump version: 7.3.2*
> *pg_dump: aborting because of version mismatch (Use the -i option to proceed
> any way)*

Notice that pg_dump reports its version as 7.3.2, yet you say you're
running PostgreSQL version 8.1.  Apparently there is an older version
of the Pg tools somewhere on your PATH.    You need to remove the
older versions of the Pg tools, or rearrange PATH so that the new ones
come first, or specify an explicit path to the version of pg_dump that
you need to use.  You must use a pg_dump that is at least as high a
version as the Pg postmaster process.

I think that 'which -a pg_dump' will show you all of the versions of
pg_dump which are visible on your PATH.  This may help you track down
the version you need.

If you have a good reason to maintain two versions of Pg on your host,
you should be aware that cron jobs may be run with a very different
PATH from the one you get in an interactive session.  Just because the
commands run interactively does not guarantee that you will get the
same versions in an automated backup job.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Friends don't let friends publish revisable-form documents.

Attachment: pgpLVzQRZHkMn.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to