From: | Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Small patch: fix code duplication in heapam.c |
Date: | 2016-03-24 08:43:33 |
Message-ID: | 20160324114333.32d64b27@fujitsu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | Postg무지개 토토SQL |
Hello
I discovered that there is a lot of code duplication in heapam.c.
In particular relation_openrv and relation_openrv_extended procedures
and also heap_openrv and heap_openrv_extended procedures are almost the
same. Here is a patch that fixes this.
--
Best regards,
Aleksander Alekseev
http://eax.me/
Attachment | Content-Type | Size |
---|---|---|
heapam-c-refactoring.diff | text/x-patch | 5.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2016-03-24 08:51:54 | Re: WIP: Access method extendability |
Previous Message | Petr Jelinek | 2016-03-24 08:18:51 | Re: Relation extension scalability |