Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3U4I-0000E0-3i for pgsql-general@arkaria.postgresql.org; Tue, 21 Jun 2022 02:56:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o3U4G-0000Ny-Ns for pgsql-general@arkaria.postgresql.org; Tue, 21 Jun 2022 02:56:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3U4G-0000Np-Bh for pgsql-general@lists.postgresql.org; Tue, 21 Jun 2022 02:56:40 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o3U4D-000543-Ot for pgsql-general@lists.postgresql.org; Tue, 21 Jun 2022 02:56:39 +0000 Received: by mail-ed1-x52d.google.com with SMTP id z11so11315543edp.9 for ; Mon, 20 Jun 2022 19:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=dAQiutVigf9wFw1wSSzxDEArZQgT0N1gfX349XnA0Bw=; b=JDSaz8uUmOYeK/qEPjRvRstLCbqxSpaHESBaCnrTE11r7daup621w9Vjbn4cdoXlLm xRQXgDCrQpBwA4BQdALmE0E24JPPc5E0bpjKDeA4OxLg49KSw9nDuwrwyCC9/Kc72hJK vOeahQIwmZluIjSBXy4EpMivnrrt+ZjP4qgVDDPrKlS5UdMk5ISMdIRKK3QvTw8uE0rt 7zZJ3spFESDCl9plOSSW5PGfIbDJSpeeQD0yPNlsSOzwma1w6VbNteAnENMOeahM0qtM ueP6bU/IFOdauV0wNuMpt5UT3sKUgknYKmwXjfilSYSO+G+CSXVA9bbnSQseLPYTmzz2 /bbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dAQiutVigf9wFw1wSSzxDEArZQgT0N1gfX349XnA0Bw=; b=k5+Ws2bQscyuo05RyN30qX8WQ9AvZybtxmC7v8Jye/31oTM34msvux5XiQuhy5jtjA 8QXt1fJbdvXixHEUiWg2tppw1bPnkqw1ZfBgWXpEpkDbV1dGol+Fy36KnftYv1MLgDeb XkrPwPIBd1wHXbCc9z2b2JQlhSTOjmFz1G0muflt6JdWsxaoKWNSlInGSfbyVjfRk82O V6eZ2EYn0cTWeBdkkKar/+spaQbdrLIvVwYaZnWGaT9lbdiyOlDPSc2BarfiObDpdKrH iBJCvaFJal/65LHxFLZ9LXYinTY8JSJteJBjA4/Rx0TZlkR71RyoGdspNZWanwvrkMH6 QYOw== X-Gm-Message-State: AJIora+eyFBzgcumGi5dMBJMNGnJB1AoMw7cZi4JMjxYJffLwLQOC8qW htPHTttDAMB9VxAynhxqGkPvmcBMQXnOENV0YhWG22o= X-Google-Smtp-Source: AGRyM1tEWROJ8hXgU4/dx3Zdhd5fQKXyoLslthfL2VVeOYilfu0XnoUwnmxABfCtCK4BtrabKNWL+JoUZoem0TO+PiY= X-Received: by 2002:a05:6402:398:b0:435:6df7:b7e4 with SMTP id o24-20020a056402039800b004356df7b7e4mr18292747edv.306.1655780196071; Mon, 20 Jun 2022 19:56:36 -0700 (PDT) MIME-Version: 1.0 From: Rino Mardo Date: Tue, 21 Jun 2022 10:56:25 +0800 Message-ID: Subject: accessing postgres from c++ To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000069bbba05e1ec5e40" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000069bbba05e1ec5e40 Content-Type: text/plain; charset="UTF-8" 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, --00000000000069bbba05e1ec5e40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hi. i found odbc.p= ostgresql.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.=C2= =A0

i installed a postgresql c= ontainer using Docker for Windows in my laptop. from a Windows terminal i c= an connect to the postgresql container and from there use psql client to cr= eate database.

when post= gresql 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 fro= m 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,
--00000000000069bbba05e1ec5e40--