diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-04-02 10:16:00 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-04-02 10:16:00 -0500 |
commit | 6687430c98f3bed1d4c5f85f05a230b0d4581a66 (patch) | |
tree | 1f9284e431f597c0dd1170baad885488d2eae60e /src/tutorial | |
parent | 38698dd38e56b6de31545ac284e36feb00d413cb (diff) | |
download | postgresql-6687430c98f3bed1d4c5f85f05a230b0d4581a66.tar.gz postgresql-6687430c98f3bed1d4c5f85f05a230b0d4581a66.zip |
Refactor code for setting pg_popcount* function pointers.
Presently, there are three copies of this code, and a proposed
follow-up patch would add more code to each copy. This commit
introduces a new inline function for this code and makes use of it
in the pg_popcount*_choose functions, thereby reducing code
duplication.
Author: Paul Amonson
Discussion: https://postgr.es/m/BL1PR11MB5304097DF7EA81D04C33F3D1DCA6A%40BL1PR11MB5304.namprd11.prod.outlook.com
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions