Обсуждение: Feature request: ability to set hostaddr

Поиск
Список
Период
Сортировка

Feature request: ability to set hostaddr

От
Christopher Head
Дата:
Hi,
I'd like to request the ability to set hostaddr separately from host
when creating a server connection. This is currently impossible.
Alternatively, allow pgAdmin3 to connect to services described
in .pg_service.conf, thus allowing a way to set all parameters that are
not currently available in the connection configuration UI.

Thanks!
Chris


Re: Feature request: ability to set hostaddr

От
Andreas Neumann
Дата:
Hi,
Yes, I would also appreciate if one could connect to a service defined in pg_service.conf
I just recently discovered the possibility to define postgres services - though I have been told it had been around for
years...
 
Andreas
On Tue, 1 Mar 2011 22:45:44 -0800, Christopher Head wrote:
> Hi,
> I'd like to request the ability to set hostaddr separately from host
> when creating a server connection. This is currently impossible.
> Alternatively, allow pgAdmin3 to connect to services described
> in .pg_service.conf, thus allowing a way to set all parameters that 
> are
> not currently available in the connection configuration UI.
>
> Thanks!
> Chris

-- --Andreas NeumannBöschacherstrasse 10A8624 Grüt (Gossau ZH)Switzerland


Re: Feature request: ability to set hostaddr

От
Guillaume Lelarge
Дата:
Hi,

Le 02/03/2011 07:45, Christopher Head a écrit :
> [...]
> I'd like to request the ability to set hostaddr separately from host
> when creating a server connection. This is currently impossible.

Could you remind me why this would be interesting? AFAIR, they are
pretty much the same thing, aren't they?

> Alternatively, allow pgAdmin3 to connect to services described
> in .pg_service.conf, thus allowing a way to set all parameters that are
> not currently available in the connection configuration UI.
> 

+1 (and we already have a ticket to deal with this, so I hope we'll have
this in 1.14)


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: Feature request: ability to set hostaddr

От
Christopher Head
Дата:
On Sat, 05 Mar 2011 20:30:42 +0100
Guillaume Lelarge <guillaume@lelarge.info> wrote:

> Hi,
> 
> Le 02/03/2011 07:45, Christopher Head a écrit :
> > [...]
> > I'd like to request the ability to set hostaddr separately from host
> > when creating a server connection. This is currently impossible.
> 
> Could you remind me why this would be interesting? AFAIR, they are
> pretty much the same thing, aren't they?
> 

Use case: "host" is set to the actual name of the database server so it
can fully verify an SSL certificate, "hostaddr" is set to the IP
address of some box acting as a tunnel without which a connection to
the database server is impossible. I'm sure there are others, but
that's mine.

Chris


Re: Feature request: ability to set hostaddr

От
Guillaume Lelarge
Дата:
Le 06/03/2011 12:15, Christopher Head a écrit :
> On Sat, 05 Mar 2011 20:30:42 +0100
> Guillaume Lelarge <guillaume@lelarge.info> wrote:
> 
>> Hi,
>>
>> Le 02/03/2011 07:45, Christopher Head a écrit :
>>> [...]
>>> I'd like to request the ability to set hostaddr separately from host
>>> when creating a server connection. This is currently impossible.
>>
>> Could you remind me why this would be interesting? AFAIR, they are
>> pretty much the same thing, aren't they?
>>
> 
> Use case: "host" is set to the actual name of the database server so it
> can fully verify an SSL certificate, "hostaddr" is set to the IP
> address of some box acting as a tunnel without which a connection to
> the database server is impossible. I'm sure there are others, but
> that's mine.
> 

OK, I created a ticket to work on it later.

Thanks.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: Feature request: ability to set hostaddr

От
Guillaume Lelarge
Дата:
Le 12/03/2011 10:37, Guillaume Lelarge a écrit :
> Le 06/03/2011 12:15, Christopher Head a écrit :
>> On Sat, 05 Mar 2011 20:30:42 +0100
>> Guillaume Lelarge <guillaume@lelarge.info> wrote:
>>
>>> Hi,
>>>
>>> Le 02/03/2011 07:45, Christopher Head a écrit :
>>>> [...]
>>>> I'd like to request the ability to set hostaddr separately from host
>>>> when creating a server connection. This is currently impossible.
>>>
>>> Could you remind me why this would be interesting? AFAIR, they are
>>> pretty much the same thing, aren't they?
>>>
>>
>> Use case: "host" is set to the actual name of the database server so it
>> can fully verify an SSL certificate, "hostaddr" is set to the IP
>> address of some box acting as a tunnel without which a connection to
>> the database server is impossible. I'm sure there are others, but
>> that's mine.
>>
>
> OK, I created a ticket to work on it later.
>

See patch attached. If you can test it, it would be great.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com