Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl DBI postgres question (capturing STDERR from VACUUM)

by erix (Vicar)
on Dec 18, 2012 at 11:36 UTC ( #1009345=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use DBI;
    ...
        open STDERR, ">&OLDERR";
        \$output;
    }
    
  2. or download this
    2012.12.18 12:47:31 aardvark@bulldog:~/pg_stuff/pg_sql/pgsql.HEAD [0]
    $ perl vacuum.pl
    ...
    INFO:  analyzing "public.t"
    INFO:  "t": scanned 0 of 0 pages, containing 0 live rows and 0 dead ro
    +ws; 0 rows in sample, 0 estimated total rows
    ----------------------------------------------------------------------
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-11-27 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls