Teodor Sigaev <teodor@sigaev.ru> writes:
>> I propose changing the typmodin signature to "typmodin(cstring[]) returns
>> int4", that is, the typmods will be passed as strings not integers.
> And modify ArrayGetTypmods() to ArrayGetIntegerTypmods()
Right --- the decoding work will only have to happen in one place for
our existing uses.
Is it worth providing an ArrayGetStringTypmods in core, when it won't
be used by any existing core datatypes?
regards, tom lane