Pg: Skip query preparation when we can

This commit is contained in:
Yorhel 2025-02-28 12:33:30 +01:00
parent 4686097d00
commit 0734bc4991
4 changed files with 33 additions and 28 deletions

View file

@ -371,7 +371,9 @@ parameter in the given C<$sql> string. Example:
# $oids = []
This method can be called before the query has been executed, but will then
trigger a prepare operation.
trigger a prepare operation. An empty array is also returned if the query has
already been executed without a separate preparation step; this happens if
prepared statement caching is disabled and C<text_params> is enabled.
=item $st->columns