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

From: Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Date: 2018-11-08 09:52:25
Message-ID: ab7eff5c-c919-afa2-64e6-b144645b354c@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07.11.2018 20:11, Pavel Stehule wrote:
> st 7. 11. 2018 v 15:11 odesílatel Arthur Zakirov
> <a(dot)zakirov(at)postgrespro(dot)ru <mailto:a(dot)zakirov(at)postgrespro(dot)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):

if (is_absolute_path(host))
{
...
}
else
{
...
}

--
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yuzuko Hosoya 2018-11-08 10:19:14 A typo in partprune.c
Previous Message Peter Eisentraut 2018-11-08 09:46:56 Re: PostgreSQL Limits and lack of documentation about them.