Conversation
7f84dcc to
37affdb
Compare
andriikushch
left a comment
There was a problem hiding this comment.
Looks good and reasonable to me.
37affdb to
b3a2eaf
Compare
b3a2eaf to
7a80be2
Compare
|
PostgreSQL assumes it's printed on a separate line: I think the "detail" looks quite ugly like this: This is a relatively simple message, but some are quite long. What I'll do is rewrite #521 to provide more detailed messages via |
|
@arp242 The whole point was to include the necessary detail in Error() because some of the errors are completely useless without that detail. It seems pretty silly to prioritize cosmetics over utility in an error message. |
|
I had a look at the PostgreSQL source, and most errors did not seem appropriate to add to the Error() string. But we can make some selected exceptions for some errors, maybe. |
|
Doing so selectively would be a reasonable solution. Too bad I didn't include the specific error that prompted me to open the ticket as an example of why. |
Resolves #679