postgresql-ocaml icon indicating copy to clipboard operation
postgresql-ocaml copied to clipboard

return-type for prepared statements appear to be hardcoded to the "text" format

Open TyOverby opened this issue 4 years ago • 0 comments

PQexecParams_stub takes a v_binary_result argument, which tells postgres to use the text or binary format.

PQexecPrepared has the same argument, but the value is hardcoded to "text".

@mmottl: would you be opposed to me adding this functionality to postgresql-ocaml, and if not, do you foresee any issues that I may run into?

TyOverby avatar Dec 06 '21 01:12 TyOverby