Re: Error Codes?

Поиск
Список
Период
Сортировка
От Rob Arnold
Тема Re: Error Codes?
Дата
Msg-id 000401c151bf$63b84a70$4901010a@canrion.net
обсуждение исходный текст
Ответ на Error Codes?  (Fran Fabrizio <ffabrizio@mmrd.com>)
Список pgsql-general
Look at $db->errstr  That has the text version of the error code.

--rob

----- Original Message -----
From: "Fran Fabrizio" <ffabrizio@mmrd.com>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, October 10, 2001 2:48 PM
Subject: [GENERAL] Error Codes?


> I'm a bit confused about the current state of error codes in Pg.  The
> docs and
> the mailing list archives seem to indicate that this is a TODO item,
> however,
> at least when using Perl with DBD::Pg, when I call $db->err() or examine
>
> $DBI::err I get a number back.  For instance, 7 if I try to insert too
> many
> columns into a row, and a 1 if the connection fails.  What's the scoop,
> and if
> error codes really do exist, is there a list of such codes?
>
> Thanks,
> Fran
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>


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

Предыдущее
От: Fran Fabrizio
Дата:
Сообщение: Error Codes?
Следующее
От: "Zuev Dmitry"
Дата:
Сообщение: Question about system catalog, documentation and datatype sizes (probably a bug)