On 2018-Nov-08, Arthur Zakirov wrote: > On 07.11.2018 20:11, Pavel Stehule wrote: > > st 7. 11. 2018 v 15:11 odesílatel Arthur Zakirov > > <a.zaki...@postgrespro.ru <mailto:a.zaki...@postgrespro.ru>> napsal: > > > I think there is lack of necessary braces here for first if and second > > > else branches. This is true for both patches. > > ? > > I just meant something like this (additional "{", "}" braces):
We omit braces when there's an individual statement. (We do add the braces when we have a comment atop the individual statement, though, to avoid pgindent from doing a stupid thing.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services