Re: turning off notices

From: "Sue Fitt" <sfitt(at)fittconway(dot)plus(dot)com>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: turning off notices
Date: 2008-01-19 16:08:23
Message-ID: 00a201c85ab5$855faf00$0200a8c0@wilfrid
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, this is a help - it has turned off the CONTEXT part, but the NOTICE
is still there.

Just looked at the same query inside psql for comparison, with '\set
VERBOSITY terse', but actually I see that here I am getting both NOTICE and
CONTEXT. Not sure what's going on here...

Anyway, it's the NOTICE in psql -c that's mainly concerning me at the
moment. Ideas anyone, or can these notices not be turned off?

Sue

----- Original Message -----
From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Sue Fitt" <sfitt(at)fittconway(dot)plus(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Saturday, January 19, 2008 3:30 PM
Subject: Re: [GENERAL] turning off notices

> Hello
>
> try:
>
> echo '\set VERBOSITY terse\\SELECT * FROM show(1135311);' | psql -d
> combilex -q
>
> Regards
> Pavel Stehule
>
> On 19/01/2008, Sue Fitt <sfitt(at)fittconway(dot)plus(dot)com> wrote:
>>
>>
>> Hi All,
>>
>> I'm having trouble with turning off notices. Within psql I use \set
>> VERBOSITY terse, which is fine. However, using psql -c I am having
>> trouble.
>> It seems I should be able to use psql -qc 'mycommand' but I am still
>> getting
>> notices output, e.g.
>>
>> psql -d combilex -qc 'SELECT * FROM show(1135311);'
>> NOTICE: phonotactic error, please check transcription
>> CONTEXT: SQL statement "SELECT etc....
>>
>> Is there a way to turn these notices off other than reconfiguring the
>> conf
>> file and restarting the database? I am using 8.1.3.
>>
>> Any help appreciated,
>> Sue
>
> --
> This email has been verified as Virus free.
> Virus Protection and more available at http://www.plus.net
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2008-01-19 16:16:31 Re: turning off notices
Previous Message Pavel Stehule 2008-01-19 15:30:49 Re: turning off notices