Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-26 Thread Andrew Dunstan
Tom Lane wrote: "Nigel J. Andrews" <[EMAIL PROTECTED]> writes: Moral of the story, if it's in your path first then it's the default and you should therefore be happy with the results or be prepared to live with them, otherwise make sure what you're running. I would think that having initdb

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-26 Thread Tom Lane
"Nigel J. Andrews" <[EMAIL PROTECTED]> writes: > Moral of the story, if it's in your path first then it's the default and you > should therefore be happy with the results or be prepared to live with them, > otherwise make sure what you're running. I would think that having initdb print its version

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-26 Thread scott.marlowe
On Fri, 26 Sep 2003, Christopher Kings-Lynne wrote: > >>Is there any chance we could have initdb show the version of postgresql > >>it is running as when initdb is run? > > > > > > If you install many different versions in parallel, don't you give your > > installation paths some meaning that co

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-26 Thread Nigel J. Andrews
On Fri, 26 Sep 2003, Christopher Kings-Lynne wrote: > > If you install many different versions in parallel, don't you give your > > installation paths some meaning that contain the version number? In any > > case, you can run initdb --version first if you're not sure about what is > > where. > >

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-26 Thread Philip Yarra
On Fri, 26 Sep 2003 04:51 pm, Christopher Kings-Lynne wrote: > Yes I do, but sometimes as different users you don't know what the path > is. I guess I can just go --version. Perhaps add alias initdb='initdb --version; initdb' to /etc/profile so that all accounts get an alias? Regards, Philip Y

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-25 Thread Christopher Kings-Lynne
Is there any chance we could have initdb show the version of postgresql it is running as when initdb is run? If you install many different versions in parallel, don't you give your installation paths some meaning that contain the version number? In any case, you can run initdb --version first if

Re: [HACKERS] feature request: show pgsql version when running initdb

2003-09-25 Thread Peter Eisentraut
Christopher Kings-Lynne writes: > Is there any chance we could have initdb show the version of postgresql > it is running as when initdb is run? If you install many different versions in parallel, don't you give your installation paths some meaning that contain the version number? In any case, y

[HACKERS] feature request: show pgsql version when running initdb

2003-09-25 Thread Christopher Kings-Lynne
Hey guys, Is there any chance we could have initdb show the version of postgresql it is running as when initdb is run? On my dev machine, i have all sorts of different versions in different paths and sometimes you run initdb but it doesn't run the version I think I'm running. Outputting versi