Re: More than one installation on the same machine

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: More than one installation on the same machine
Дата
Msg-id 20030726173027.GA3291@wolff.to
обсуждение исходный текст
Ответ на More than one installation on the same machine  (Jay R <jaysjaded@yahoo.com>)
Список pgsql-novice
On Fri, Jul 25, 2003 at 23:42:02 -0700,
  Jay R <jaysjaded@yahoo.com> wrote:
> I've installed 7.3 in its own directory, using the
> default configuration parameters, and I gather from
> the 7.3 documentation that I need to start it up on a
> different port and provide a different socket to point
> DBI::Pg at.  (7.2 has port 5432 and a socket in /tmp)
>  But I couldn't figure out quite how to do it, based
> on the documentation.  If anyone can provide me with
> more detailed instructions (or point me at them if
> they're out on the web somewhere), I'd be much
> obliged.

I use Pg.pm, but I think this may help.
I put:
SetEnv PGPORT 5433
in appropiate .htaccess files to have an area of my web site use the development
postgres instead of 7.3.3 which runs on the default port.

This makes it easy to switch back if I grab a new copy of 7.4 and it
has problems. (The databases are essentially static so I can keep both
loaded and switch back and forth without causing problems.)

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: More than one installation on the same machine
Следующее
От: "bruce"
Дата:
Сообщение: Accessing Postgres db from apache using PHP