aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-01-31 17:22:02 +1300
committerDavid Rowley <drowley@postgresql.org>2024-01-31 17:22:02 +1300
commitb588cad688823b1e996ce05af4d88a954c005a3a (patch)
tree41ec222b7f8ad9ca83b80bd9be18e8815608fc60 /src/backend/access/transam/xlogutils.c
parent3e91dba8b079c02dc5204108c7e797b402c75779 (diff)
downloadpostgresql-b588cad688823b1e996ce05af4d88a954c005a3a.tar.gz
postgresql-b588cad688823b1e996ce05af4d88a954c005a3a.zip
Consider the "LIMIT 1" optimization with parallel DISTINCT
Similar to what was done in 5543677ec for non-parallel DISTINCT, apply the same optimization when the distinct_pathkeys are empty for the partial paths too. This can be faster than the non-parallel version when the first row matching the WHERE clause of the query takes a while to find. Parallel workers could speed that process up considerably. Author: Richard Guo Reviewed-by: David Rowley Discussion: https://postgr.es/m/CAMbWs49JC0qvfUbzs-TVzgMpSSBiMJ_6sN=BaA9iohBgYkr=LA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions