Re: Doc patch: type modifiers - Mailing list pgsql-patches

From Tom Lane
Subject Re: Doc patch: type modifiers
Date
Msg-id 28809.1211904487@sss.pgh.pa.us
Whole thread Raw
In response to Doc patch: type modifiers  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Doc patch: type modifiers  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-patches
Jeff Davis <pgsql@j-davis.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

pgsql-patches by date:

Previous
From: Jeff Davis
Date:
Subject: Doc patch: type modifiers
Next
From: Jeff Davis
Date:
Subject: Re: Doc patch: type modifiers