Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 6B6BC2E006F for ; Thu, 15 May 2008 04:37:21 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58949-03 for ; Thu, 15 May 2008 04:36:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from n68.bullet.mail.sp1.yahoo.com (n68.bullet.mail.sp1.yahoo.com [98.136.44.44]) by developer.postgresql.org (Postfix) with SMTP id 009342E0052 for ; Thu, 15 May 2008 03:36:20 -0300 (ADT) Received: from [216.252.122.217] by n68.bullet.mail.sp1.yahoo.com with NNFMP; 15 May 2008 06:36:19 -0000 Received: from [69.147.65.158] by t2.bullet.sp1.yahoo.com with NNFMP; 15 May 2008 06:36:19 -0000 Received: from [127.0.0.1] by omp406.mail.sp1.yahoo.com with NNFMP; 15 May 2008 06:36:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 350087.53133.bm@omp406.mail.sp1.yahoo.com Received: (qmail 1304 invoked by uid 60001); 15 May 2008 06:36:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=sEvdxqBLnzgkkCKQoe6Ra9tyN9/1wH+yf2/eYGH7mT7ZF8q/aXFq2uKNGDR1ljeEDFR0a0IHdgTO6sEn1sa9wAtBUzbC9aX4zs8MzB5utHdc4ky0heiCqR5jq4mMpWCk04x1OMl2//ueKW7ishwJSpKjsKqbreE/ENC4zeqzmfk=; X-YMail-OSG: Te4aUAYVM1kSLSRjHbWtYFgQ3_S_vyDQFKAIYChT5Ep058wz3UZy4m918qO98I5SH.mXEyPoHc4c Received: from [61.247.3.18] by web45906.mail.sp1.yahoo.com via HTTP; Wed, 14 May 2008 23:36:18 PDT X-Mailer: YahooMailRC/975.23 YahooMailWebService/0.7.185 Date: Wed, 14 May 2008 23:36:18 -0700 (PDT) From: Ridho Ahmad Subject: Save query in csv To: pgsql-cygwin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-246551511-1210833378=:728" Message-ID: <838877.728.qm@web45906.mail.sp1.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200805/1 X-Sequence-Number: 4388 --0-246551511-1210833378=:728 Content-Type: text/plain; charset=us-ascii 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 --0-246551511-1210833378=:728 Content-Type: text/html; charset=us-ascii
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

--0-246551511-1210833378=:728--