public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ronald Cabral <[email protected]>
To: [email protected]
Subject: Postgresql driver ODBC for linux
Date: Mon, 12 Jun 2023 21:14:41 +0800
Message-ID: <CAAuBg4Tc=7JGz0Aivfx7Kr_+TSnV6bDGOvy36v2QNOUBTxf0zA@mail.gmail.com> (raw)

Hi,

I am setting up Heterogenous services to connect Oracle to Postgresql.
how can i check if my postgres ODBC driver can support Unicode.
the connection is failing if HS_LANGUAGE is UTF8 but OK
using AMERICAN_AMERICA.WE8ISO8859P9


-bash-4.2$ rpm -qa | grep -i odbc
unixODBC-2.3.1-14.0.1.el7.x86_64
postgresql-odbc-09.03.0100-2.el7.x86_64

-bash-4.2$ more /home/oracle/.odbc.ini
[ODBC Data Sources]
PG = PostgreSQL

[PG]
Description = Postgres
Driver = PostgreSQL
ServerName = glsdvlpgdb132
Username = wmscoe_dashboard
Password = n4SX2ey9qWRa
Port = 5432
Database=gpwcd01d
ConnSettings=SET CLIENT_ENCODING TO 'UTF8'
[Default]
Driver = /usr/lib64/liboplodbcS.so.2


-bash-4.2$ more /etc/odbcinst.ini
# Example driver definitions

# Driver from the postgresql-odbc package
# Setup from the unixODBC package
[PostgreSQL]
Description     = ODBC for PostgreSQL
Driver          = /usr/lib/psqlodbcw.so
Setup           = /usr/lib/libodbcpsqlS.so
Driver64        = /usr/lib64/psqlodbcw.so
Setup64         = /usr/lib64/libodbcpsqlS.so
FileUsage       = 1


# Driver from the mysql-connector-odbc package
# Setup from the unixODBC package
[MySQL]
Description     = ODBC for MySQL
Driver          = /usr/lib/libmyodbc5.so
Setup           = /usr/lib/libodbcmyS.so
Driver64        = /usr/lib64/libmyodbc5.so
Setup64         = /usr/lib64/libodbcmyS.so
FileUsage       = 1


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: [email protected]
  Cc: [email protected]
  Subject: Re: Postgresql driver ODBC for linux
  In-Reply-To: <CAAuBg4Tc=7JGz0Aivfx7Kr_+TSnV6bDGOvy36v2QNOUBTxf0zA@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox