public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: PQdescribePrepared / binary data
Date: Thu, 29 Mar 2018 22:33:47 +0000
Message-ID: <[email protected]> (raw)

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.


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PQdescribePrepared / binary data
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox