pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use materialize SRF mode in brin_page_items
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use materialize SRF mode in brin_page_items
@ 2015-08-13 16:02 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2015-08-13 16:02 UTC (permalink / raw)
  To: pgsql-committers

Use materialize SRF mode in brin_page_items

This function was using the single-value-per-call mechanism, but the
code relied on a relcache entry that wasn't kept open across calls.
This manifested as weird errors in buildfarm during the short time that
the "brin-1" isolation test lived.

Backpatch to 9.5, where it was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/94d626ff5a82422825976c096e250b07657cd6f7

Modified Files
--------------
contrib/pageinspect/brinfuncs.c |  223 ++++++++++++++++++---------------------
1 file changed, 101 insertions(+), 122 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use materialize SRF mode in brin_page_items
@ 2015-08-13 16:02 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2015-08-13 16:02 UTC (permalink / raw)
  To: pgsql-committers

Use materialize SRF mode in brin_page_items

This function was using the single-value-per-call mechanism, but the
code relied on a relcache entry that wasn't kept open across calls.
This manifested as weird errors in buildfarm during the short time that
the "brin-1" isolation test lived.

Backpatch to 9.5, where it was introduced.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1136971daef209a40eb495b4bd74ce50fbd0fe63

Modified Files
--------------
contrib/pageinspect/brinfuncs.c |  223 ++++++++++++++++++---------------------
1 file changed, 101 insertions(+), 122 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-08-13 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 16:02 pgsql: Use materialize SRF mode in brin_page_items Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-08-13 16:02 pgsql: Use materialize SRF mode in brin_page_items Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox