postgresql/src/backend/utils/cache
Tom Lane 147d4bf3e5 Modify all callers of datatype input and receive functions so that if these
functions are not strict, they will be called (passing a NULL first parameter)
during any attempt to input a NULL value of their datatype.  Currently, all
our input functions are strict and so this commit does not change any
behavior.  However, this will make it possible to build domain input functions
that centralize checking of domain constraints, thereby closing numerous holes
in our domain support, as per previous discussion.

While at it, I took the opportunity to introduce convenience functions
InputFunctionCall, OutputFunctionCall, etc to use in code that calls I/O
functions.  This eliminates a lot of grotty-looking casts, but the main
motivation is to make it easier to grep for these places if we ever need
to touch them again.
2006-04-04 19:35:37 +00:00
..
catcache.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
inval.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
lsyscache.c Modify all callers of datatype input and receive functions so that if these 2006-04-04 19:35:37 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
relcache.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
syscache.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
typcache.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00