Re: [HACKERS] SQLSTATEs for warnings

2003-08-01 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane writes: >> I suspect though that the spec is assuming that the SQLSTATE code is the >> *only* way for the application to determine whether the message is >> success, warning, or error. > The severity field is useless, because it contains loca

Re: [HACKERS] SQLSTATEs for warnings

2003-08-01 Thread Peter Eisentraut
Tom Lane writes: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > In other words, an info, notice, or warning must have a class 00, 01, 02. > > I suspect though that the spec is assuming that the SQLSTATE code is the > *only* way for the application to determine whether the message is > success,

Re: [HACKERS] SQLSTATEs for warnings

2003-07-28 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > In other words, an info, notice, or warning must have a class 00, 01, 02. I suspect though that the spec is assuming that the SQLSTATE code is the *only* way for the application to determine whether the message is success, warning, or error. Since we