[PATCH] Add a inline function to eliminate duplicate code

From: Junwang Zhao <zhjwpku(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] Add a inline function to eliminate duplicate code
Date: 2022-08-02 11:27:30
Message-ID: CAEG8a3KvmkKEJuq3ubKWX4AP21xVaGAQY8iB858GgukB=eCySQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

abstract the logic of `scankey change attribute num to index col
number` to change_sk_attno_to_index_column_num, which is a static
inline function.

--
Regards
Junwang Zhao

Attachment Content-Type Size
0001-add-a-inline-function-to-eliminate-duplicate-code.patch application/octet-stream 3.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2022-08-02 11:32:39 Re: Slow standby snapshot
Previous Message David Steele 2022-08-02 11:23:35 Re: remove more archiving overhead