From: Gaetano Mendola <mendola@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: CONTEXT: in log file
Date: Thu, 08 Apr 2004 23:15:17 +0200
Message-ID: <4075C0E5.9010301@bigfoot.com> (raw)
In-Reply-To: <13580.1081433956@sss.pgh.pa.us>
References: <407538BE.7020204@bigfoot.com>
<13580.1081433956@sss.pgh.pa.us>
Tom Lane wrote:
> Gaetano Mendola <mendola@bigfoot.com> writes:
>
>>using Postgres 7.4.2 I'm seeing in my log
>>file thousand of line with "CONTEXT: "
>
>
> Any particular context?
No just mine own:
LOG: statement: select sp_id_admin();
LOG: statement: SELECT id_admin FROM administrators WHERE user_name =
current_user
CONTEXT: PL/pgSQL function "sp_id_admin" line 4 at select into variables
LOG: statement: SELECT NOT $1
CONTEXT: PL/pgSQL function "sp_id_admin" line 8 at if
LOG: statement: SELECT $1
so for each select INTO inside my functions I have a CONTECT line
>>and I'm seeing that the CONTEXT disappear only with:
>>log_min_messages = fatal
>
>
> Perhaps log_error_verbosity is what you want to play with.
Yes you're right ( like always ) with
log_error_verbosity = terse
the CONTEXT line disappeared.
Regards
Gaetano Mendola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com, tgl@sss.pgh.pa.us
Subject: Re: CONTEXT: in log file
In-Reply-To: <4075C0E5.9010301@bigfoot.com>
References: <407538BE.7020204@bigfoot.com> <13580.1081433956@sss.pgh.pa.us> <4075C0E5.9010301@bigfoot.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox