Обсуждение: postgresql-8.3.6-1PGDG : redirect_stderr = on does not start server

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

postgresql-8.3.6-1PGDG : redirect_stderr = on does not start server

От
"suresh adapa"
Дата:
Hello Sir,

=20

I have build postgresql-8.3.6-1PGDG for rhel5.3 x86_64

But I have problem while starting the postgresql server.

=20

When I comment "redirect_stderr" in /var/lib/pgsql/data/postgresql.conf
file

the server starts properly.

=20

If I have the above line the and try to start, I can see below in the
pgstartup.log

=20

FATAL:  unrecognized configuration parameter "redirect_stderr"

FATAL:  unrecognized configuration parameter "redirect_stderr"

FATAL:  unrecognized configuration parameter "redirect_stderr"

=20

Please advice if this is ok ,and is there any other token for
redirect_stderr ?

And guide me if you have any patch.

=20

Thanks

SureshAdapa

suresha@collab.net

=20

Re: postgresql-8.3.6-1PGDG : redirect_stderr = on does not start server

От
Heikki Linnakangas
Дата:
suresh adapa wrote:
> I have build postgresql-8.3.6-1PGDG for rhel5.3 x86_64
>
> But I have problem while starting the postgresql server.
>
> When I comment "redirect_stderr" in /var/lib/pgsql/data/postgresql.conf
> file
>
> the server starts properly.
>
> If I have the above line the and try to start, I can see below in the
> pgstartup.log
>
> FATAL:  unrecognized configuration parameter "redirect_stderr"

redirect_stderr was renamed to logging_collector in version 8.3.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

Re: postgresql-8.3.6-1PGDG : redirect_stderr = on does not start server

От
Tom Lane
Дата:
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> suresh adapa wrote:
>> If I have the above line the and try to start, I can see below in the
>> pgstartup.log
>>
>> FATAL:  unrecognized configuration parameter "redirect_stderr"

> redirect_stderr was renamed to logging_collector in version 8.3.

In general, copying an older version's config file without checking
for changes is a bad idea --- we feel free to whack around the parameter
set as well as the possible values in any major release.

            regards, tom lane