Making pgsql error messages more developers' friendly.
От | Rajesh Kumar Mallah |
---|---|
Тема | Making pgsql error messages more developers' friendly. |
Дата | |
Msg-id | 200306271159.39202.mallah@trade-india.com обсуждение исходный текст |
Ответы |
Re: Making pgsql error messages more developers' friendly.
Re: Making pgsql error messages more developers' friendly. |
Список | pgsql-general |
Hi Folks, Shudnt' messages like ERROR: value too long for type character varying(5) Indicate which column and table the server is talking about . Without that we need to open the application source code, find the SQL, then describe the table to find which column is varchar(5) and if there is two columns of varchar(5) we keep wondering. similarly when uniq indexes are violated we do not know which key is causing it. MySQL is better in these small things. I think in 7.4dev fkey violation are reported better, cant such behaviours be extened to other kind of exceptions? Regds Mallah. -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.
В списке pgsql-general по дате отправления: