Skip site navigation (1) Skip section navigation (2)

Re: pgsql-server/ /configure /configure.in rc/Make ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ /configure /configure.in rc/Make ...
Date: 2004-05-11 22:12:00
Message-ID: 200405112212.i4BMC0S10069@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Tom Lane wrote:
> momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian) writes:
> > 	As part of the work for making relocatable installs, I have re-factored
> > 	all the code that looks for other binaries.  I move FindExec into
> > 	port/exec.c (and renamed it to find_my_binary()).  I also added
> > 	find_other_binary that looks for another binary in the same directory as
> > 	the calling program, and checks the version string.
> 
> Version string?  What version string?  Binaries don't have any checkable
> version info that I know of ...

binary -V echos a version string, and our code already was checking
that:

	$ pg_dump -V
	pg_dump (PostgreSQL) 7.5devel
	$ postgres -V
	postgres (PostgreSQL) 7.5devel

Actually, initdb was checking, but pg_dumpall was not.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-committers by date

Next:From: Tom LaneDate: 2004-05-11 22:43:56
Subject: pgsql-server/src/backend/optimizer/prep prepun ...
Previous:From: Tom LaneDate: 2004-05-11 22:04:36
Subject: Re: pgsql-server/ /configure /configure.in rc/Make ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group