Re: Idea: cross-check versions during initdb - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Idea: cross-check versions during initdb
Date
Msg-id Pine.LNX.4.21.0010272108070.838-100000@peter.localdomain
Whole thread Raw
In response to Re: Idea: cross-check versions during initdb  (Larry Rosenman <ler@lerctr.org>)
List 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@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)
Next
From: Alex Pilosov
Date:
Subject: Re: Summary: what to do about INET/CIDR