On Thu, Jul 29, 2021 at 9:57 AM Tom Lane <t...@sss.pgh.pa.us> wrote: > In the case at hand, I'd personally avoid a ternary op for the first > assignment because then the line would run over 80 characters, and > you'd have to make decisions about where to break it. (We don't have > a standardized convention about that, and none of the alternatives > look very good to my eye.)
This is exactly why I rarely use ?: -- Robert Haas EDB: http://www.enterprisedb.com