| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use optimized bitmap set function for membership test in postgre |
| Date: | 2018-07-01 06:10:44 |
| Message-ID: | E1fZVZM-0008LC-Kq@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use optimized bitmap set function for membership test in postgres_fdw
Deparsing logic in postgres_fdw for locking, FROM clause (alias) and Var
(column qualification) does not need to know the exact number of members
involved, which can be calculated with bms_num_members(), but just if
there is more than one relation involved, which is what bms_membership()
does. The latter is more performant than the former so this shaves a
couple of cycles.
Author: Daniel Gustafsson
Reviewed-by: Ashutosh Bapat, Nathan Bossart
Discussion: https://postgr.es/m/C73594E0-2B67-4E10-BB35-CDE0E41CC384@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/65782346a4812482bfb09f9e1117c908146e67b5
Modified Files
--------------
contrib/postgres_fdw/deparse.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2018-07-01 11:01:36 | pgsql: Use $Test::Builder::Level in TAP test functions |
| Previous Message | Andrew Dunstan | 2018-06-30 16:49:37 | pgsql: Update typedefs list |