OSDN Git Service

Even after the great date/time consolidation, TypeCategory() was still
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2000 06:28:42 +0000 (06:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Feb 2000 06:28:42 +0000 (06:28 +0000)
commitf4d108a25747754b5d265b12ef32c791ab547782
tree6d0ff8e1e895d4115cb379cdfc2ea76327e661f6
parent4467194b4479537c319a1842d27feaf027ac9fe2
Even after the great date/time consolidation, TypeCategory() was still
a few bricks shy of a load concerning knowing all the date/time types.
This is real bad because it interferes with func_select_candidate()'s
willingness to disambiguate functions --- func_select_candidate() will
punt unless all the available choices have the same type category.
I think this whole mechanism needs redesigned, but in the meantime
this is a needed patch.
src/backend/parser/parse_coerce.c
src/include/catalog/pg_type.h