Re: Idea: cross-check versions during initdb

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: Idea: cross-check versions during initdb
Date: 2000-10-27 19:10:12
Message-ID: Pine.LNX.4.21.0010272108070.838-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > 1. Add a --version switch to postgres or postmaster to print its version
> > and exit.

postmaster already has this. Someone can copy the code into
tcop/postgres.c as well. But should we not use the catversion for this?

> > to a compatible library directory. Alternatively, add version info as
> > a comment in the first line of global.bki.

I think that's better.

Bonus project: find out why initdb is picking up the wrong files in the
first place.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-27 19:12:05 Re: Idea: cross-check versions during initdb
Previous Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2000-10-27 19:03:33 Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)