Re: BUG #13490: Segmentation fault on pg_stat_activity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Bommarito <michael(at)bommaritollc(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13490: Segmentation fault on pg_stat_activity
Date: 2015-07-14 12:45:32
Message-ID: 3090.1436877932@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Bommarito <michael(at)bommaritollc(dot)com> writes:
> If you can provide a patch that performs input validation in
> get_tle_by_resno and logs the condition, I can compile and test with it.

Wouldn't prove anything one way or another. Somehow, a corrupt query tree
is being fed to the planner; what we need to understand is what conditions
cause that to happen. I doubt that getting more details at the point
where the code trips over the corruption will teach us that.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message 宏病毒 2015-07-15 02:31:28 ERROR: missing chunk number 0 for toast value 149761 in pg_toast_2619
Previous Message kou 2015-07-14 12:37:22 BUG #13500: Windows binary zip doesn't include libintl.h