Обсуждение: changing major/minor on libpq for releases ...

Поиск
Список
Период
Сортировка

changing major/minor on libpq for releases ...

От
The Hermit Hacker
Дата:
Just curious, but how do ppl handle running two different versions on the
same machine?  I want to start up a v6.5 server where v6.4.2 server
already exists...

I'm wondering if it might make sense to up the libpq on a release, so that
this can work?

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



Re: [HACKERS] changing major/minor on libpq for releases ...

От
Tom Lane
Дата:
The Hermit Hacker <scrappy@hub.org> writes:
> Just curious, but how do ppl handle running two different versions on the
> same machine?  I want to start up a v6.5 server where v6.4.2 server
> already exists...

Run them with different port addresses.  I do it all the time...

> I'm wondering if it might make sense to up the libpq on a release, so that
> this can work?

No, I don't think that's a good idea.  There's no reason to break binary
compatibility of libpq when setting PGPORT will do the job; the same
psql binary (or any other application) can talk to either release.
        regards, tom lane