Re: Review : Add hooks for pre- and post-processor executables for COPY and \copy

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
Cc: 'Etsuro Fujita' <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp>, 'pgsql-hackers' <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Review : Add hooks for pre- and post-processor executables for COPY and \copy
Date: 2013-02-27 13:00:04
Message-ID: 512E0354.4050206@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 27.02.2013 08:32, Amit Kapila wrote:
> If there is semicolon at end, it takes it into account for creating
> filename.
> \copy foo to c:\data\foo.out;
> This problem was fixed in previous patch, but I think handling of quotes has
> changed this behavior.

This is existing behavior, that creates a file called "foo.out;" on
previous psql versions as well. I agree it's almost certainly not what
the user intended, but that's a separate patch.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2013-02-27 13:02:22 Broken link in contrib/fuzzystrmatch/dmetaphone.c
Previous Message Heikki Linnakangas 2013-02-27 12:54:53 Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =