pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #14179: Not enough info in error message 3+ messages / 3 participants [nested] [flat]
* BUG #14179: Not enough info in error message @ 2016-06-07 07:50 dmigowski@ikoffice.de 2016-06-07 12:36 ` Re: BUG #14179: Not enough info in error message David G. Johnston <david.g.johnston@gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: dmigowski@ikoffice.de @ 2016-06-07 07:50 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 14179 Logged by: Daniel Migowski Email address: dmigowski@ikoffice.de PostgreSQL version: 9.5.2 Operating system: all Description: Hello, I often get some error like: value too long for type character varying(160). Not it is hard for me to check which column contained the constraint. I would love to see something like: "value too long for type character varying(160) in column mytable.mycolumn" This would have safed me at least 20 hours during the last years! If you fix this, please backport to 9.5, and I would immediately upgrade all our servers. Thanks a lot in advance. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #14179: Not enough info in error message 2016-06-07 07:50 BUG #14179: Not enough info in error message dmigowski@ikoffice.de @ 2016-06-07 12:36 ` David G. Johnston <david.g.johnston@gmail.com> 2016-06-07 13:39 ` Re: BUG #14179: Not enough info in error message Daniel Migowski <dmigowski@ikoffice.de> 0 siblings, 1 reply; 3+ messages in thread From: David G. Johnston @ 2016-06-07 12:36 UTC (permalink / raw) To: dmigowski@ikoffice.de; +Cc: pgsql-bugs On Tue, Jun 7, 2016 at 3:50 AM, <dmigowski@ikoffice.de> wrote: > The following bug has been logged on the website: > > Bug reference: 14179 > Logged by: Daniel Migowski > Email address: dmigowski@ikoffice.de > PostgreSQL version: 9.5.2 > Operating system: all > Description: > > Hello, > > I often get some error like: value too long for type character > varying(160). > Not it is hard for me to check which column contained the constraint. > > This is a frequent complaint with no easy, and in some queries no possible, solution. > I would love to see something like: "value too long for type character > varying(160) in column mytable.mycolumn" > CREATE TABLE sample (col text CHECK (length(col) <= 160)); This would have safed me at least 20 hours during the last years! > > If you fix this, please backport to 9.5, and I would immediately upgrade > all > our servers. Even if this was improved upon it would never be back-ported. It is not a bug. There is more in-depth discussion out there on these lists but I do not have the time at the moment to search around for it. I did check the FAQ and this topic does not appear there :( Maybe it will in the future... David J. ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #14179: Not enough info in error message 2016-06-07 07:50 BUG #14179: Not enough info in error message dmigowski@ikoffice.de 2016-06-07 12:36 ` Re: BUG #14179: Not enough info in error message David G. Johnston <david.g.johnston@gmail.com> @ 2016-06-07 13:39 ` Daniel Migowski <dmigowski@ikoffice.de> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Migowski @ 2016-06-07 13:39 UTC (permalink / raw) To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: pgsql-bugs Hello David, thanks for you detailed answer. Maybe I check the lists when the feature becomes so urgent that I need to fix it myself. Regards, Daniel Migowski On Tue, Jun 7, 2016 at 3:50 AM, <dmigowski@ikoffice.de<mailto:dmigowski@ikoffice.de>> wrote: The following bug has been logged on the website: Bug reference: 14179 Logged by: Daniel Migowski Email address: dmigowski@ikoffice.de<mailto:dmigowski@ikoffice.de> PostgreSQL version: 9.5.2 Operating system: all Description: Hello, I often get some error like: value too long for type character varying(160). Not it is hard for me to check which column contained the constraint. This is a frequent complaint with no easy, and in some queries no possible, solution. I would love to see something like: "value too long for type character varying(160) in column mytable.mycolumn" CREATE TABLE sample (col text CHECK (length(col) <= 160)); This would have safed me at least 20 hours during the last years! If you fix this, please backport to 9.5, and I would immediately upgrade all our servers. Even if this was improved upon it would never be back-ported. It is not a bug. There is more in-depth discussion out there on these lists but I do not have the time at the moment to search around for it. I did check the FAQ and this topic does not appear there :( Maybe it will in the future... David J. ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-06-07 13:39 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-06-07 07:50 BUG #14179: Not enough info in error message dmigowski@ikoffice.de 2016-06-07 12:36 ` David G. Johnston <david.g.johnston@gmail.com> 2016-06-07 13:39 ` Daniel Migowski <dmigowski@ikoffice.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox