Re: Start-up script for few clusters: just add water?

Поиск
Список
Период
Сортировка
От Piotr Kublicki
Тема Re: Start-up script for few clusters: just add water?
Дата
Msg-id OF6EA14712.23A289BE-ON80257714.002F67AF-80257714.002FB2DA@iop.org
обсуждение исходный текст
Ответ на Re: Start-up script for few clusters: just add water?  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Start-up script for few clusters: just add water?  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-general


Guillaume Lelarge <guillaume@lelarge.info> wrote on 28/04/2010 15:04:07:

> > In such case the new created start-up script postgresql2 should not be
> > modified in the following line:
> >
> > # Override defaults from /etc/sysconfig/pgsql if file is present
> > [ -f /etc/sysconfig/pgsql/${NAME} ] && . /etc/sysconfig/pgsql/${NAME}
> >
> > export PGDATA
> > export PGPORT
> >
> > Or it will automatically match-up names from both directories, i.e.:
> > /etc/init.d/postgresql will run /etc/sysconfig/pgsql/postgresql?
> >
> > /etc/init.d/postgresql2 will run /etc/sysconfig/pgsql/postgresql2
> >
>
> The latter. It will automatically match the script file name and the
> config file name.

Thanks again. By the way, if I want to start instances with few optional
arguments, as -S or -B where can I include these? In the same config file,
i.e. /etc/sysconfig/pgsql/postgresql (speaking about RedHat directories
structure)?

Pete



This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please notify the sender, delete any copies and do not take action in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically.” 

Institute of Physics Registered in England under Registration No 293851 
Registered Office:  76/78 Portland Place, London W1B 1NT 

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Need magic that checks if a collumn contains values that CAN NOT be converted to Latin1
Следующее
От: Oliver Kohll - Mailing Lists
Дата:
Сообщение: Cumulative count (running total) window fn