Re: fix psql \conninfo & \connect when using hostaddr - Mailing list pgsql-hackers

From Arthur Zakirov
Subject Re: fix psql \conninfo & \connect when using hostaddr
Date
Msg-id ab7eff5c-c919-afa2-64e6-b144645b354c@postgrespro.ru
Whole thread Raw
In response to Re: fix psql \conninfo & \connect when using hostaddr  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: fix psql \conninfo & \connect when using hostaddr
List pgsql-hackers
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):

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

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL Limits and lack of documentation about them.
Next
From: "Yuzuko Hosoya"
Date:
Subject: A typo in partprune.c