Bug with passwords that include apostrophes

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Bug with passwords that include apostrophes
Дата
Msg-id 4492175A.2030607@calorieking.com
обсуждение исходный текст
Ответы Re: Bug with passwords that include apostrophes
Re: Bug with passwords that include apostrophes
Список pgadmin-support
pgAdmin version: latest bundled
OS: Windows XP

Description
-----------

Attempting to log into a database with pgAdmin using a password that 
contains the apostrophe (') character causes this error:

"An error has occurred.

Error connecting to the server: missing "=" after "asdf" in connection 
info string."

It's almost certain you have the same problem connecting with a username 
with an apostrophe, or to a db name with one.

In the connection string you need to go:

password='asdf\'fdsa' dbname='dbname'

To properly escape it.

Chris





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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: init script for redhat
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Bug with passwords that include apostrophes