Re: [BUGS] copy cmd err

2011-12-06 Thread Tom Lane
Jivendra writes: > 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, '-mm-dd','-mm-dd')) TO > STDOUT That COPY syntax doesn't exist in PG 8.1 --- the option to have a parenthesized q

[BUGS] copy cmd err

2011-12-06 Thread Jivendra
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, '-mm-dd','yyy