I propose changing the typmodin signature to "typmodin(cstring[]) returns int4", that is, the typmods will be passed as strings not integers. This will incur a bit of extra conversion overhead for the normal uses where the typmods are integers, but I think the gain in flexibility is worth
agree
it. I'm inclined to make the code in parse_type.c take either integer
And modify ArrayGetTypmods() to ArrayGetIntegerTypmods() Teodor Sigaev E-mail: [EMAIL PROTECTED] WWW: http://www.sigaev.ru/ ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match