Re: Connection between PostgreSQL and SAP HANA database

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Thürmann, Andreas <Andreas(dot)Thuermann(at)schoenmackers(dot)de>, "'pgsql-general(at)lists(dot)postgresql(dot)org'" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Connection between PostgreSQL and SAP HANA database
Date: 2024-10-11 16:16:30
Message-ID: 2678e457-fe4d-44a7-a74a-4a2c51027097@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/11/24 01:23, Thürmann, Andreas wrote:

Please do not post. The convention on this list is to inline or bottom
post. That makes it easier to follow the conversation flow.

See:
https://en.wikipedia.org/wiki/Posting_style

> Yes I run it under Windows, I also have a Linux server for testing.
> Under Windows I know that the driver works because i use it already in another project (MS SQL Server with LinkedServer).
> In Linux I can test the HDBODBC driver via command line and the ISQL command, this works fine.

Works fine as in you can connect to the SAP HANA database with the
HDBODBC driver?

>
> I'm desperate about the PostgreSQL configuration. I have no idea how to configure it. I doubt the path (HDBODBC (SAP-driver) –> SAP HANA database) myself, but i cant connect to the HDBODBC driver directly via an extension.
What are the settings/commands you are using for the various parts of
this connection chain:

1) HDBODBC driver.

2) ISQL command.

3) odbc_fdw.

4) Foreign server creation statements.

> My previous assumption was that i need a extension for the foreign data wrapper, the foreign server, foreign table and so on...

Yeah that is shown here:

https://github.com/CartoDB/odbc_fdw

In the Example section.

>
> How can I use the system dsn in PostgreSQL?
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-10-11 16:26:40 Re: Inefficient use of index scan on 2nd column of composite index during concurrent activity
Previous Message Adrian Klaver 2024-10-11 15:59:28 Re: Foreign Data Wrapper behavior?