diff options
author | Daniel Gustafsson | 2025-03-11 11:02:42 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2025-03-11 11:02:42 +0000 |
commit | d35d32d7112bc632c6a305e9dffdec0082bbdf00 (patch) | |
tree | 0e8b4c3c6b8603977cc68e59bc372764e7b489d8 /src/backend/access/gist/gistget.c | |
parent | 8dd7c7cd0a2605d5301266a6b67a569d6a305106 (diff) |
Add special case fast-paths for strict functions
Many STRICT function calls will have one or two arguments, in which
case we can speed up checking for NULL input by avoiding setting up
a loop over the arguments. This adds EEOP_FUNCEXPR_STRICT_1 and the
corresponding EEOP_FUNCEXPR_STRICT_2 for functions with one and two
arguments respectively.
Author: Andres Freund <[email protected]>
Co-authored-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Andreas Karlsson <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions