Re: error codes when running pg_dumpall from a perl script. - Mailing list pgsql-general

From Simon Crute
Subject Re: error codes when running pg_dumpall from a perl script.
Date
Msg-id 1002844532.6930.0.nnrp-02.9e981bad@news.demon.co.uk
Whole thread Raw
In response to Re: error codes when running pg_dumpall from a perl script.  (Allan Engelhardt <allane@cybaea.com>)
List pgsql-general
"Allan Engelhardt" <allane@cybaea.com> wrote in message
news:3BC5F048.278EE105@cybaea.com...
> You'll want to ask on the perl groups, but briefly you get an illegal seek
when your command writes to the error file descriptor:
>
>     % perl -e '`echo hi 1>&2` or warn "Oops: $! $?";'
>     hi
>     Oops: Illegal seek 0 at -e line 1.
>
> It's a perl feature, not a bug ;-)  Try

Ahh.
Thanks for that.





pgsql-general by date:

Previous
From: "Johnny J\xF8rgensen"
Date:
Subject: Re: triggers
Next
From: David Link
Date:
Subject: Re: Performance problem with 50,000,000 rows