OSDN Git Service

Further cleanups for type coercion: treat the locution typename(argument)
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2000 23:04:06 +0000 (23:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2000 23:04:06 +0000 (23:04 +0000)
commit07c495f5d86b0cc5573dd0993cdd4069b2c893ca
treee780aafa80275e2042a94b07c98d13388bd3d641
parent57b30e8e226014c8d06bae0158e0c7fc679f700b
Further cleanups for type coercion: treat the locution typename(argument)
as representing a type coercion request in more cases than we did before.
It will work now whenever no underlying function is required, ie if the
coercion is binary-compatible or if the argument is a previously untyped
string constant.  Otherwise, you still need a real function to exist.
src/backend/parser/parse_func.c