Re: [HACKERS] Runtime Partition Pruning - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Runtime Partition Pruning
Date
Msg-id d4903af2-e7b7-b551-71f8-3e4a6bdc2e73@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Runtime Partition Pruning  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: [HACKERS] Runtime Partition Pruning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2018-04-10 23:32, Alvaro Herrera wrote:
> To figure out, I used the attached patch (not intended for application)
> to add a backtrace to each log message, plus a couple of accusatory
> elog() calls in relation_open and ExecSetupPartitionPruneState.

What do people think about adding something like this errbacktrace()
from Álvaro's patch to core PostgreSQL?  If we could devise a way to
selectively enable it, it might be an easier way for users to provide
backtraces from errors.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Excessive memory usage in multi-statement queries w/ partitioning
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: initdb recommendations