Re: pgsql-server/ /configure /configure.in rc/Make ...
| От | Bruce Momjian |
|---|---|
| Тема | Re: pgsql-server/ /configure /configure.in rc/Make ... |
| Дата | |
| Msg-id | 200405112212.i4BMC0S10069@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: pgsql-server/ /configure /configure.in rc/Make ... (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-committers |
Tom Lane wrote:
> momjian@svr1.postgresql.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@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-committers по дате отправления: