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 <vinodchowda...@gmail.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 > >