PQdescribePrepared / binary data

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: espars13389(at)googlemail(dot)com
Subject: PQdescribePrepared / binary data
Date: 2018-03-29 22:33:47
Message-ID: 152236282772.6317.812347682750102583@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/libpq.html
Description:

It should be mentioned, that the function PQfmod is not applicable for a
valid PGresult returned by PQdescribePrepared.
PQfmod delivers additional information for datatypes of variable size, like
maximum size for varchar or precision/scale for numeric.
This information is currently not available for parameters of prepared
statements. On the other hand, for example: users of the binary interface
should not experience any errors
when providing correct binary data for a numeric parameter: if the
specified scale does not match with the scale of the related numeric column
in the database table, then postgres will handle it correctly and round it
as needed.

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2018-03-30 14:40:07 Re: "IS NOT DOCUMENT" is missing
Previous Message David G. Johnston 2018-03-29 14:01:49 Re: Blanks in the first line before the first word in the code boxes