pqxx::Connection("dbname=name");

Поиск
Список
Период
Сортировка
От CG
Тема pqxx::Connection("dbname=name");
Дата
Msg-id aff8uo$556$1@news.hub.org
обсуждение исходный текст
Ответы Re: pqxx::Connection("dbname=name");  (jtv <jtv@xs4all.nl>)
Список pgsql-interfaces
Hi,

i tried to create a pqxx::Connection with an NOT existing dbserver and my
program aborts.

Is this correct?

try
{   Connection c("dbname=wrongname"
}
catch(const exception &ec)
{   cout << " Connection failed! " << endl;
}

Why does it not catch in my program?

Thanx in advance!

CG






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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: [ODBC] Views, Access 2000 and write conflicts
Следующее
От: jtv
Дата:
Сообщение: Re: pqxx::Connection("dbname=name");