Re: pgloader error : permission denied to set parameter "lc_messages"

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: pgloader error : permission denied to set parameter "lc_messages"
Дата
Msg-id 51C99E0D.70101@gmail.com
обсуждение исходный текст
Ответ на pgloader error : permission denied to set parameter "lc_messages"  ("ascot.moss@gmail.com" <ascot.moss@gmail.com>)
Список pgsql-general
On 06/25/2013 12:05 AM, ascot.moss@gmail.com wrote:
> Hi,
>
> I am trying to load CSV files into postgresql via pgloader, it returned the following error, any suggestions to fix
it?
>
> I have a line "lc_messages = C" in my pgloader.conf, would this line cause the problem?

Assuming you are not running as a superuser, yes:

http://www.postgresql.org/docs/9.2/static/runtime-config-client.html

lc_messages (string)

...

Only superusers can change this setting, because it affects the messages
sent to the server log as well as to the client, and an improper value
might obscure the readability of the server logs.

>
> regards
>

--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: .pgpass being ignored
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: greatest cannot be used as sfunc for CREATE AGGREGATE