Re: BUG #15867: psql \copy from program does not work

From: "Edward J(dot) Sabol" <edwardjsabol(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15867: psql \copy from program does not work
Date: 2019-06-22 03:13:42
Message-ID: 3684FC06-B137-4E11-B28B-62820BB2902A@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Jun 21, 2019, at 10:46 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>> \copy sometable from program '/bin/echo'
>>
>> The following error message is returned:
>>
>> program: No such file or directory
>
> Works, for me, unless I use an ancient psql program (before 9.3).

I was about to swear I was using the psql from 10.9, but you’re right.... I somehow picked up a *very* ancient version of psql in my path, and my tests show it definitely works as documented when I fix my path and use psql 10.9. How embarrassing.... My sincerest apologies for the false bug report and for taking up any of your time. Thank you for the quick response!

Regards,
Ed

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message YunQiang Su 2019-06-22 04:21:09 Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
Previous Message Jeff Janes 2019-06-22 02:46:36 Re: BUG #15867: psql \copy from program does not work