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

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "ascot(dot)moss(at)gmail(dot)com" <ascot(dot)moss(at)gmail(dot)com>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgloader error : permission denied to set parameter "lc_messages"
Date: 2013-06-25 13:41:33
Message-ID: 51C99E0D.70101@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/25/2013 12:05 AM, ascot(dot)moss(at)gmail(dot)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(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2013-06-25 13:45:02 Re: greatest cannot be used as sfunc for CREATE AGGREGATE
Previous Message Adrian Klaver 2013-06-25 13:37:54 Re: .pgpass being ignored