Re: BUG #6168: db_link may generate additional unformatted log entries in stderr

From: "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)postgresql(dot)org>, "Joe Conway" <mail(at)joeconway(dot)com>
Subject: Re: BUG #6168: db_link may generate additional unformatted log entries in stderr
Date: 2011-08-19 15:47:14
Message-ID: C4DAC901169B624F933534A26ED7DF3103E91747@JENMAIL01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


>> I've stumbled on a few entries in my stderr log where the line prefix where
>> missing. e.g.:
>>
>> 2011-08-08 13:12:16 CEST|4e3fc490.17bc|6076|foo|DETAIL: Returned type
>> character ...
>> 2011-08-08 13:12:16 CEST|4e3fc490.17bc|6076|foo|CONTEXT: PL/pgSQL
>> function "bm_ ...
>> 2011-08-08 13:12:16 CEST|4e3fc490.17bc|6076|foo|STATEMENT: Select
>> coalesce(colu ...
>> => NOTICE: table "sessions_summary_raw_20110815" does not exist, skipping
>> => NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index
>> "pk_sessions_s ...
>> => NOTICE: table "sessions_site_summary_raw_20110815" does not exist,
>> skipping
>>
>> NOTICE entries should moreover not be logged !
>>
>> Those entries are coming from db_link.
>>

>I guess your test case is looping back to the same Postgres instance?

Yes, I use db_link to trigger multithreading :)

>But frankly this is an enhancement request, not a bug. The entire point
>of the stderr logging mechanism is to capture random printouts to stderr
>that might happen in code called by the backend, and it's doing exactly
>what it's supposed to.

Thanks for the explanation, this issue has no impact on our application.

best regards,

Marc Mamin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Farina 2011-08-20 00:39:58 BUG #6170: hot standby wedging on full-WAL disk
Previous Message Tom Lane 2011-08-19 15:12:24 Re: BUG #6168: db_link may generate additional unformatted log entries in stderr