use copy command.
COPY (your_sql_goes_here) TO '/home/someone/test.csv';
you can also set delimeter. take a look at
http://www.postgresql.org/docs/current/static/sql-copy.html
2012/1/2 vinodh chowdary <vinodchowdary9(at)gmail(dot)com>
> Hi sir,
>
> i am using postgres as database for my project.
> i want to convert postgres data into excel sheet.
> is there any way to do it?
> please reply me.
>
>
>
>
> --
> vinodh
>
>