Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I would put the text in parens, then apps can know that strings in
> > quotes are errors, but of course, if they issue "(select * from
> > pg_class)" there are problems. Maybe "-- permission denied".
>
> What's wrong with <message>, like we already have there for <idle>?
Oh, interesting. I guess I saw <idle> as a valid status, while
permission/enable was more of an error so should have a different
format. I could go either way.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026