Tigthen binary receive functions so that they reject values that the text
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Sep 2009 11:20:23 +0000 (11:20 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Sep 2009 11:20:23 +0000 (11:20 +0000)
commit7be39bb0be87a2fe6ea64c9d48130b78412968a8
tree6e6e1c6d01540cf47a6ad529f5b61f317134bb15
parent237859e4fb13851ffd2f45a6706a0540ca014b5d
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.
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/date.c
src/backend/utils/adt/int.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/oid.c
src/backend/utils/adt/timestamp.c
src/include/utils/datetime.h