pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ridho Ahmad <roar_skripsi@yahoo.com>
To: pgsql-cygwin@postgresql.org
Subject: Save query in csv
Date: Wed, 14 May 2008 23:36:18 -0700 (PDT)
Message-ID: <838877.728.qm@web45906.mail.sp1.yahoo.com> (raw)

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



      

Message-ID: <838877.728.qm@web45906.mail.sp1.yahoo.com>
Permalink:  ../838877.728.qm@web45906.mail.sp1.yahoo.com/
Also on:    postgresql.org/message-id/838877.728.qm@web45906.mail.sp1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: roar_skripsi@yahoo.com
  Subject: Re: Save query in csv
  In-Reply-To: <838877.728.qm@web45906.mail.sp1.yahoo.com>
  References: <838877.728.qm@web45906.mail.sp1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox