Determining typmod of *source* of a cast - Mailing list pgsql-hackers

From Jim Nasby
Subject Determining typmod of *source* of a cast
Date
Msg-id 547A70A9.4030108@BlueTreble.com
Whole thread Raw
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: David G Johnston
Date:
Subject: Re: [COMMITTERS] pgsql: Revert "Add libpq function PQhostaddr()."
Next
From: Noah Misch
Date:
Subject: Re: Securing "make check" (CVE-2014-0067)