Re: Massively annoying bug still not fixed in v1.20 :-(

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Massively annoying bug still not fixed in v1.20 :-(
Дата
Msg-id 54944007.5030203@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Massively annoying bug still not fixed in v1.20 :-(  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Massively annoying bug still not fixed in v1.20 :-(  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
On 12/19/2014 09:51 PM, Dave Page wrote:
> It's not going to work because when using an SSH tunnel we have to use
> a random port number for the client end of the tunnel. When libpq (not
> pgAdmin) tries to match the connection details against those that are
> stored, it will often fail because the port number won't match.

Why not handle it like libpq does?

Connect, and if the server asks for a password *then* prompt the user.

You can do this with a libpq connection callback.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Massively annoying bug still not fixed in v1.20 :-(
Следующее
От: Dave Page
Дата:
Сообщение: Re: Massively annoying bug still not fixed in v1.20 :-(