From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove unnecessary variables in _hash_splitbucket(). |
Date: | 2015-04-03 20:49:59 |
Message-ID: | E1Ye8XP-0004rh-4y@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-04-04 02:45:29 | pgsql: Fix numeric abbreviation for --disable-float8-byval. |
Previous Message | Alvaro Herrera | 2015-04-03 20:37:30 | pgsql: Transform ALTER TABLE/SET TYPE/USING expr during parse analysis |