Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > In fact, as Peter explains it, NOTICE \g goes to the terminal because it
> > is assumed to be an error. Maybe we need to make psql smarter and only
> > send ERROR/WARNING to terminal, and INFO/NOTICE to the log file. With
> > new elog() levels, seems this is needed anyway.
>
> INFO is just as irrelevant to the query results as WARNING is.
Oh, \g is just the query result, not the query itself. I get it now.
-- 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,
Pennsylvania19026