Re: Identifying no-op length coercions

Kevin Grittner <kevin.grittner@wicourts.gov>

From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Alexey Klyukin" <alexk@commandprompt.com>, "Jim Nasby" <jim@nasby.net>
Cc: "Robert Haas" <robertmhaas@gmail.com>, "Noah Misch" <noah@leadboat.com>, <pgsql-hackers@postgresql.org>,"Tom Lane" <tgl@sss.pgh.pa.us>
Date: 2011-06-03T16:12:19Z
Lists: pgsql-hackers
Jim Nasby <jim@nasby.net> wrote:
 
> The only challenge I see is numeric; we'd need to ensure that both
> size and precision are not decreasing.
 
To be picky, wouldn't that need to be "neither (precision - scale)
nor scale is decreasing"?
 
-Kevin