Re: [HACKERS] errmsg(... because ...)

2004-12-11 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: There are a bunch of error messages saying something like cannot foo because bar What do you think of changing those to use errdetail in addition to errmsg? I'm dubious that this is really an improvement... In any case we are past string freeze for

[HACKERS] errmsg(... because ...)

2004-12-10 Thread Alvaro Herrera
Hackers, There are a bunch of error messages saying something like cannot foo because bar For example, errmsg(cannot assign to field \%s\ of column \%s\ because its type %s is not a composite type) What do you think of changing those to use errdetail in addition to errmsg? So this