From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> |
Subject: | Re: PoC plpgsql - possibility to force custom or generic plan |
Date: | 2017-09-16 16:55:32 |
Message-ID: | 20170916165532.GF9874@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Sep 6, 2017 at 10:43:39AM -0400, Robert Haas wrote:
> helps. I don't think we can just indefinitely continue to resist
> providing manual control over this behavior on the theory that some
> day we'll fix it. It's been six years and we haven't made any
> significant progress. In some cases, a long delay without any
> progress might just point to a lack of effort that should have been
> applied, but in this case I think it's because the problem is
> incredibly hard.
Add to that, we didn't even document the behavior until last year:
commit fab9d1da4a213fab08fe2d263eedf2408bc4a27a
Author: Bruce Momjian <bruce(at)momjian(dot)us>
Date: Tue Jun 14 16:11:46 2016 -0400
document when PREPARE uses generic plans
Also explain how generic plans are created.
Link to PREPARE docs from wire-protocol prepare docs.
Reported-by: Jonathan Rogers
Discussion: https://www.postgresql.org/message-id/flat/561E749D.4090301%40socialserve.com
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2017-09-16 17:01:01 | Re: DROP SUBSCRIPTION hangs if sub is disabled in the same transaction |
Previous Message | Bruce Momjian | 2017-09-16 16:34:51 | Re: Clarification in pg10's pgupgrade.html step 10 (upgrading standby servers) |