| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5246: Misleading/inconsistent SQLSTATE behavior |
| Дата | |
| Msg-id | 11059.1260997959@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #5246: Misleading/inconsistent SQLSTATE behavior ("Chris Travers" <chris.travers@gmail.com>) |
| Ответы |
Re: BUG #5246: Misleading/inconsistent SQLSTATE behavior
|
| Список | pgsql-bugs |
"Chris Travers" <chris.travers@gmail.com> writes:
> I am noticing that that a failed database connection results in an unusable
> SQLSTATE in libpq, and a very different SQLSTATE than the backend
> registers.
> For example, if a connection fails due to a database not found, the backend
> registers 3D000 as a SQL state, but the front-end registers 25P01. If a
> login fails, the back-end registers 28000 but the front-end registers 25P01
> again.
Exactly what "frontend" are you talking about here? Because what this
sounds like to me is a client-side programming error. It's certainly
not the backend's fault, and I doubt it is libpq's either.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера