pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeroen T. Vermeulen <jtv@xs4all.nl>
To: brajesh <brajesh@sumasoft.net>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: how to
Date: Thu, 6 Feb 2003 21:59:57 +0100
Message-ID: <20030206205957.GM32118@xs4all.nl> (raw)
In-Reply-To: <3254.10.0.2.225.1043934475.squirrel@sumasoft.net>
References: <3254.10.0.2.225.1043934475.squirrel@sumasoft.net>

On Thu, Jan 30, 2003 at 07:17:55PM +0530, brajesh wrote:
> 
> How can i connect to postgres database from c++ code.
> i know there is "libpq-fe".
> but what about from windows?

Well, libpq is a C library so you can also call it from C++; it
works with Windows AFAIK.

Then there's libpq++, the old C++ frontend, and if you've got a
fairly modern compiler, there's the newer libpqxx.  Both are on
GBorg.


Jeroen




view thread (3+ messages)

Message-ID: <20030206205957.GM32118@xs4all.nl>
Permalink:  ../20030206205957.GM32118@xs4all.nl/
Also on:    postgresql.org/message-id/20030206205957.GM32118@xs4all.nl

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jtv@xs4all.nl, brajesh@sumasoft.net
  Subject: Re: how to
  In-Reply-To: <20030206205957.GM32118@xs4all.nl>

* 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