copy cmd err

From: Jivendra <soberdude(dot)jivendra(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: copy cmd err
Date: 2011-12-06 07:09:44
Message-ID: CANBoT0_64X3hFewRt97VGyA9P5V3-iSySChZpN9VhnAnVbRiiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
--
....☺ııllllııllıı ✉ j!ℓℯñ ✉ lıllllııll☺....

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Migowski 2011-12-06 14:41:12 Re: BUG #6325: Useless Index updates
Previous Message Tom Lane 2011-12-06 05:35:59 Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs