pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove unnecessary variables in _hash_splitbucket(). 6+ messages / 1 participants [nested] [flat]
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b7e1652d5de8b618c0204588969c8b59d12e9361 Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/c419321061420a6eb5851f2fdb0e0d5db24f5a4e Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/cbccaf22bf94761f79a66624ac18a5978ab17f41 Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/0aff9d8338d6fa6b9ef2439c7c0b4aa3ad4a4651 Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/3b828379d110dc37613ed490537ab65f0e12eadf Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
* pgsql: Remove unnecessary variables in _hash_splitbucket(). @ 2015-04-03 20:49 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-04-03 20:49 UTC (permalink / raw) To: pgsql-committers Remove unnecessary variables in _hash_splitbucket(). Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass start_nblkno to _hash_splitbucket(), and for that matter unnecessary to have the internal nblkno variable either. My compiler didn't complain about that, but some did. I also rearranged the use of oblkno a bit to make that case more parallel. Report and initial patch by Petr Jelinek, rearranged a bit by me. Back-patch to all branches, like the previous patch. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/645081427d52bdfa88b79d886df2cbab5c72d406 Modified Files -------------- src/backend/access/hash/hashpage.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 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] 6+ messages in thread
end of thread, other threads:[~2015-04-03 20:49 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us> 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us> 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us> 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us> 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us> 2015-04-03 20:49 pgsql: Remove unnecessary variables in _hash_splitbucket(). Tom Lane <tgl@sss.pgh.pa.us>
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