Determining typmod of *source* of a cast

Поиск
Список
Период
Сортировка
Искать

Determining typmod of *source* of a cast

От:
Jim Nasby <Jim.Nasby@BlueTreble.com>
Дата:
Is there any way to determine the typemod of the source data for a cast? Perhaps a modification on get_call_expr_argtype(), though I'd hate to put that in an extension...

BTW, it'd be nice if we better emphasized that the typmod passed to a cast function is for the destination... :/
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com


FAQ