Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> From
> http://developer.postgresql.org/pgdocs/postgres/sql-createtype.html :
> type_modifier_input_function
> The name of a function that converts numeric modifier(s) for the
> type into internal form.
Yeah, this text is a holdover from the original user-definable-modifiers
patch, in which the modifiers indeed had to be numbers. I don't quite
like your suggestion of using "textual", though, because that makes it
sound like the input and output functions are exact inverses, which they
are not. How about "... converts an array of modifier(s) for ..."?
regards, tom lane