Thread: BUG #1645: Auto complete SQL "COPY" have problems.

BUG #1645: Auto complete SQL "COPY" have problems.

From
"Seamus Dean"
Date:
The following bug has been logged online:

Bug reference:      1645
Logged by:          Seamus Dean
Email address:      ljh1469@alibaba-inc.com
PostgreSQL version: 8.0.2
Operating system:   Red Hat Linux 7.3
Description:        Auto complete SQL "COPY" have problems.
Details:

When I using the TAB key to auto complete the 'copy' command,I found that
the psql create the following sql:
COPY student FROM '/home/pgsql/student.txt' DELIMETER '';

It should be:
COPY student FROM '/home/pgsql/student.txt' DELIMITER '';

I don't kown if it's a bug.

       Please let me kown what it's.Thank you.

Re: BUG #1645: Auto complete SQL "COPY" have problems.

From
Tom Lane
Date:
"Seamus Dean" <ljh1469@alibaba-inc.com> writes:
> When I using the TAB key to auto complete the 'copy' command,I found that
> the psql create the following sql:
> COPY student FROM '/home/pgsql/student.txt' DELIMETER '';

Ooops.  Thanks for the report --- will fix this.

            regards, tom lane