Tigthen binary receive functions so that they reject values that the text
authorHeikki Linnakangas <heikki@enterprisedb.com>
Fri, 4 Sep 2009 11:20:23 +0000 (11:20 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Fri, 4 Sep 2009 11:20:23 +0000 (11:20 +0000)
commitcfe57c7893ad43fb3adf01f9ded266b0c7de782a
tree7429ef486fa8429b433e92102d8ae51c68b202a1
parentf934cf1e3cc3bb5af2a9539e906531cfa4b7603a
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