summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Gustafsson2024-10-02 11:08:55 +0000
committerDaniel Gustafsson2024-10-02 11:08:55 +0000
commit9c733951049bf3993c886d7f2c7459e7439a9793 (patch)
treeb2c40a6989ee750b0815a6c8bdd7cfd4b9f0375a /doc
parent1a123e3b136bf38ebf5f7a97b358306998f8a61f (diff)
Add fastpaths for when no objects are found
If there are no objects found, there is no reason to inspect the result columns and mallocing a zero-sized (which will be 1 byte in reality) heap buffer for it. Add a fast-path for immediately returning like how other object inspection functions are already doing it. Reviewed-by: Ranier Vilela <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions