Re: Test database for new installs?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Test database for new installs?
Дата
Msg-id 200411191645.32915.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Test database for new installs?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Test database for new installs?
Список pgsql-hackers
Am Freitag, 19. November 2004 15:59 schrieb Tom Lane:
> > is to make psql recognize the error (the error code regime in libpq would
> > have to be extended for that),
>
> Extended how?  The error you're interested in will come back as
> ERRCODE_UNDEFINED_DATABASE.

AFAICT, error codes are only accessible through PGresult.  But if the 
connection attempt fails, you have at best a PGconn.  This is the same kind 
of issue we have with frontends parsing the "no password supplied" message, 
because PQconnect cannot supply an error code in this case.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Adding a suffix array index
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Adding a suffix array index