Thread: pgsql: Fix integer overflow in text_format function, reported by Dean R

pgsql: Fix integer overflow in text_format function, reported by Dean R

From
Heikki Linnakangas
Date:
Fix integer overflow in text_format function, reported by Dean Rasheed.

In the passing, clarify the comment on why text_format_nv wrapper is needed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/34be83b7e142a718c7a831c9df9763aa83fe4cd5

Modified Files
--------------
src/backend/utils/adt/varlena.c |   27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)