Re: CREATE CAST allows creation of binary-coercible cast to range over domain
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>,
pgsql-bugs <pgsql-bugs@postgresql.org>
Date: 2024-08-21T14:09:58Z
Lists: pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes: > I wonder if it would be better for readability to list these types in > the order we check them in the code, as we did previously, i.e.: The previous order seemed quite random to me, because enums aren't container types and the reason for excluding them isn't really the same. I thought about re-ordering the code to match the new comment, but desisted. We could do that though... regards, tom lane
Commits
-
Disallow creating binary-coercible casts involving range types.
- 86488cdf1249 18.0 landed
- 2366ab246a32 17.0 landed