Small patch: fix code duplication in heapam.c - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Small patch: fix code duplication in heapam.c
Date
Msg-id 20160324114333.32d64b27@fujitsu
Whole thread Raw
Responses Re: Small patch: fix code duplication in heapam.c
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: Relation extension scalability
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Access method extendability