Save query in csv

From: Ridho Ahmad <roar_skripsi(at)yahoo(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Save query in csv
Date: 2008-05-15 06:36:18
Message-ID: 838877.728.qm@web45906.mail.sp1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

hi, firt my name is Rio.
i need some help for source code in c. now i use cygwin and postgre to make a program based on c.
could you help me in code, how to save query result in file. i want to make file *.csv(comma separeted value).
i have found a source code based on c to parse the file from *.csv. but i have not found source code to make file *.csv (its means that the result of query in postgre).
for helping, thhank so muc

Rio junior
Indonesia

Browse pgsql-cygwin by date

  From Date Subject
Next Message BELEM Mahamadou 2008-06-23 13:15:14 problem of cygwin and progresql coupling
Previous Message Magnus Hagander 2008-02-05 15:37:44 Re: Compiler Error - postgress make on mingw for win32