pgsql: Tigthen binary receive functions so that they reject values that

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tigthen binary receive functions so that they reject values that
Date: 2009-09-04 11:20:23
Message-ID: 20090904112023.186F0753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tigthen binary receive functions so that they reject values that the text
input functions don't accept either. While the backend can handle such
values fine, they can cause trouble in clients and in pg_dump/restore.

This is followup to the original issue on time datatype reported by Andrew
McNamara a while ago. Like that one, none of these seem worth
back-patching.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
arrayfuncs.c (r1.160 -> r1.161)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayfuncs.c?r1=1.160&r2=1.161)
date.c (r1.147 -> r1.148)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/date.c?r1=1.147&r2=1.148)
int.c (r1.85 -> r1.86)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/int.c?r1=1.85&r2=1.86)
nabstime.c (r1.161 -> r1.162)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/nabstime.c?r1=1.161&r2=1.162)
oid.c (r1.74 -> r1.75)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/oid.c?r1=1.74&r2=1.75)
timestamp.c (r1.202 -> r1.203)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c?r1=1.202&r2=1.203)
pgsql/src/include/utils:
datetime.h (r1.75 -> r1.76)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/datetime.h?r1=1.75&r2=1.76)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-09-04 22:32:33 pgsql: Remove pgstat's discrimination against MsgVacuum and MsgAnalyze
Previous Message Heikki Linnakangas 2009-09-04 10:49:50 pgsql: Fix encoding handling in xml binary input function.