copy cmd err - Mailing list pgsql-bugs

From Jivendra
Subject copy cmd err
Date
Msg-id CANBoT0_64X3hFewRt97VGyA9P5V3-iSySChZpN9VhnAnVbRiiw@mail.gmail.com
Whole thread Raw
Responses Re: copy cmd err
List pgsql-bugs
Helo

After running below command am getting error
had run this command before but now am not able to run it

any suggestion  ?

Server Ver :     psql (PostgreSQL) 8.1.11
OS Platform :  Red Hat Enterprise Linux Server release 5.3 (Tikanga)

COPY (SELECT * from function_name (2, 0, 'yyyy-mm-dd','yyyy-mm-dd')) TO
STDOUT


ERROR:  syntax error at or near "(" at character 6
LINE 1: COPY (SELECT * from function_name (2, 0, '2011-08-29','2011...

Thanx
--=20
....=E2=98=BA=C4=B1=C4=B1llll=C4=B1=C4=B1ll=C4=B1=C4=B1 =E2=9C=89 j!=E2=84=
=93=E2=84=AF=C3=B1 =E2=9C=89 l=C4=B1llll=C4=B1=C4=B1ll=E2=98=BA....

pgsql-bugs by date:

Previous
From: eikenberg@golze.de
Date:
Subject: BUG #6328: Wrong error message for insert-sql
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #6328: Wrong error message for insert-sql