Re: error codes when running pg_dumpall from a perl script.

From: "Simon Crute" <simon-news(at)nospam(dot)geordie(dot)demon(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: error codes when running pg_dumpall from a perl script.
Date: 2001-10-11 23:56:05
Message-ID: 1002844532.6930.0.nnrp-02.9e981bad@news.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Allan Engelhardt" <allane(at)cybaea(dot)com> wrote in message
news:3BC5F048(dot)278EE105(at)cybaea(dot)com(dot)(dot)(dot)
> 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message William Winter 2001-10-12 03:29:04 Newbie
Previous Message Orion 2001-10-11 21:14:33 Index Scans Oddness