| From: | Robert Haas <rhaas(at)postgresql(dot)org> | 
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org | 
| Subject: | pgsql: Remove _hash_chgbufaccess(). | 
| Date: | 2016-12-23 12:26:34 | 
| Message-ID: | E1cKOvi-0004Nj-I2@gemulon.postgresql.org | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-committers | 
Remove _hash_chgbufaccess().
This is basically for the same reasons I got rid of _hash_wrtbuf()
in commit 25216c98938495fd741bf585dcbef45b3a9ffd40: it's not
convenient to have a function which encapsulates MarkBufferDirty(),
especially as we move towards having hash indexes be WAL-logged.
Patch by me, reviewed (but not entirely endorsed) by Amit Kapila.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/7819ba1ef6c5297b7e27878d2b3d30c5bcef8939
Modified Files
--------------
src/backend/access/hash/hash.c       | 20 +++++------
src/backend/access/hash/hashinsert.c | 15 +++++----
src/backend/access/hash/hashovfl.c   | 32 +++++++++---------
src/backend/access/hash/hashpage.c   | 64 +++++++++++++-----------------------
src/backend/access/hash/hashsearch.c | 18 +++++-----
src/include/access/hash.h            |  2 --
6 files changed, 66 insertions(+), 85 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2016-12-23 12:36:17 | pgsql: Remove sql_inheritance GUC. | 
| Previous Message | Pavel Stehule | 2016-12-23 08:17:32 | Re: [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s |