| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Refactor page compactifying code. |
| Date: | 2015-02-03 12:10:52 |
| Message-ID: | E1YIcJg-00063c-3B@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Refactor page compactifying code.
The logic to compact away removed tuples from page was duplicated with
small differences in PageRepairFragmentation, PageIndexMultiDelete, and
PageIndexDeleteNoCompact. Put it into a common function.
Reviewed by Peter Geoghegan.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/809d9a260b5d068a6a366273cd724bf9b396b026
Modified Files
--------------
src/backend/storage/page/bufpage.c | 130 +++++++++++++++---------------------
1 file changed, 53 insertions(+), 77 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2015-02-03 17:58:30 | pgsql: Add API functions to libpq to interrogate SSL related stuff. |
| Previous Message | Heikki Linnakangas | 2015-02-03 08:38:06 | pgsql: Rephrase the documentation on pg_receivexlog --synchronous optio |