Re-reading Nathans recent 8213df9effaf I noticed a few more small things which
can be cleaned up.  In two of the get<Object> functions we lack a fast-path for
when no tuples are found which leads to pg_malloc(0) calls.  Another thing is
that we in one place reset the PQExpBuffer immediately after creating it which
isn't required.

--
Daniel Gustafsson

Attachment: 0001-Remove-superfluous-PQExpBuffer-resetting.patch
Description: Binary data

Attachment: 0002-Add-fastpaths-for-when-no-objects-are-found.patch
Description: Binary data

Reply via email to