Re: fix psql \conninfo & \connect when using hostaddr

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: fix psql \conninfo & \connect when using hostaddr
Дата
Msg-id 20181108124015.5go2xnkofgk5r2jp@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: fix psql \conninfo & \connect when using hostaddr  (Arthur Zakirov <a.zakirov@postgrespro.ru>)
Ответы Re: fix psql \conninfo & \connect when using hostaddr  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.zakirov@postgrespro.ru <mailto:a.zakirov@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Connection slots reserved for replication
Следующее
От: Surafel Temesgen
Дата:
Сообщение: Re: pg_dump multi VALUES INSERT