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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-05-11 22:43:56 | pgsql-server/src/backend/optimizer/prep prepun ... |
Previous Message | Tom Lane | 2004-05-11 22:04:36 | Re: pgsql-server/ /configure /configure.in rc/Make ... |