pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rino Mardo <rino19ny@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: accessing postgres from c++
Date: Tue, 21 Jun 2022 10:56:25 +0800
Message-ID: <CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.com> (raw)

hi. i found odbc.postgresql.org when i was looking for a way to hook up my
c++ project to postgresql server. installed it and tested to be successful
in connection. this was when i had postgresql running from a virtualbox vm
in Ubuntu.

i installed a postgresql container using Docker for Windows in my laptop.
from a Windows terminal i can connect to the postgresql container and from
there use psql client to create database.

when postgresql was running in an Ubuntu vm in virtualbox, i wasn't able to
test the c++ connection. now i want to but can't find a way how. either
from python or any programming language.

i guess my problem is more of the programming than db server side but i
thought to try asking here in case someone can help. thanks.



regards,

view thread (5+ messages)  latest in thread

Message-ID: <CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.com>
Permalink:  ../CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.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-general@postgresql.org
  Cc: rino19ny@gmail.com
  Subject: Re: accessing postgres from c++
  In-Reply-To: <CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.com>
  References: <CAGnasUUZHT2jGMS0btwaRC0Dc1uo1RZkD46mJHSFV1APExbkwA@mail.gmail.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