Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE calls
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE calls
pgsql-bugs@postgresql.org writes: > Short Description show_planner_stats does not work for new PREPARE > calls Thanks for the bug report. The attached patch should fix the omission. I also took the liberty of removing some no-longer-used variables from the show_xxx_stats output and fixing a typo in a comment. Cheers, Neil -- Neil Conway || PGP Key ID: DB3C29FC
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE calls
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Neil Conway writes: > I also took the liberty of removing some no-longer-used > variables from the show_xxx_stats output I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the moment, but they used to be used; I think the correct response is to put back the missing counter increments, not rip out the counters. regards, tom lane
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE calls
Tom Lane writes: > I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the > moment, but they used to be used; I think the correct response is to > put back the missing counter increments, not rip out the counters. Ok, fair enough. It's worth noting that they've been broken for a while -- for example, the HashJoin counter increments were broken when you comitted r1.20 of executor/nodeHashJoin.c in May of '99. I've attached a revised patch that doesn't remove the counters (but doesn't increment them either: I'm not sure of all the places where the counter should be incremented). Cheers, Neil -- Neil Conway || PGP Key ID: DB3C29FC
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- Neil Conway wrote: > pgsql-bugs@postgresql.org writes: > > Short Description show_planner_stats does not work for new PREPARE > > calls > > Thanks for the bug report. The attached patch should fix the > omission. I also took the liberty of removing some no-longer-used > variables from the show_xxx_stats output and fixing a typo in a > comment. > > Cheers, > > Neil > > -- > Neil Conway || PGP Key ID: DB3C29FC [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
[ Sorry, removed previous version of patch from queue.] Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- --------------------------------------------------------------------------- Neil Conway wrote: > Tom Lane writes: > > I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the > > moment, but they used to be used; I think the correct response is to > > put back the missing counter increments, not rip out the counters. > > Ok, fair enough. It's worth noting that they've been broken for a > while -- for example, the HashJoin counter increments were broken when > you comitted r1.20 of executor/nodeHashJoin.c in May of '99. > > I've attached a revised patch that doesn't remove the counters (but > doesn't increment them either: I'm not sure of all the places where > the counter should be incremented). > > Cheers, > > Neil > > -- > Neil Conway || PGP Key ID: DB3C29FC [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Re: [BUGS] Bug #758: show_planner_stats does not work for new PREPARE
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Patch applied. Thanks. --------------------------------------------------------------------------- Neil Conway wrote: > Tom Lane writes: > > I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the > > moment, but they used to be used; I think the correct response is to > > put back the missing counter increments, not rip out the counters. > > Ok, fair enough. It's worth noting that they've been broken for a > while -- for example, the HashJoin counter increments were broken when > you comitted r1.20 of executor/nodeHashJoin.c in May of '99. > > I've attached a revised patch that doesn't remove the counters (but > doesn't increment them either: I'm not sure of all the places where > the counter should be incremented). > > Cheers, > > Neil > > -- > Neil Conway || PGP Key ID: DB3C29FC [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073