Thread

  1. psql: stdout or stderr?

    Terry Mackintosh <terry@terrym.com> — 1998-12-31T00:09:48Z

    Hi all
    
    I just noticed that when loading a dump file, all the echoes of the stuff
    in the dump file go to stderr.
    
    Is that really what you want?  I would have thought errors would be sent
    to stderr and that every thing else would go to stdout.
    
    Have a great night
    Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
    sysadmin/owner  Please! No MIME encoded or HTML mail, unless needed.
    
    Proudly powered by R H Linux 4.2, Apache 1.3.x, PHP 3.x, PostgreSQL 6.x
    -----------------------------------------------------------------------
    Success Is A Choice ... book by Rick Patino, get it, read it!
    
    
    
  2. Re: [HACKERS] psql: stdout or stderr?

    Bruce Momjian <maillist@candle.pha.pa.us> — 1998-12-31T00:42:46Z

    > Hi all
    > 
    > I just noticed that when loading a dump file, all the echoes of the stuff
    > in the dump file go to stderr.
    > 
    > Is that really what you want?  I would have thought errors would be sent
    > to stderr and that every thing else would go to stdout.
    > 
    
    Yes, this is new.  As I remember, some stuff is sent to stdout, and some
    to stderr, and there was some reason for that, though I can't remember
    what it was.  
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      maillist@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