使用DTO获取数据库名称时使用不同版本的PSQL

问题描述:

我正在开发一个安装在Windows OS上的应用程序,该应用程序连接到Sage 50(Peachtree)记帐软件.

I am working on an application, installed on windows OS, that connects to a Sage 50 (Peachtree) accounting software.

应用程序和Sage之间的连接是使用ODBC创建的. 要创建ODBC连接,我正在使用PSQL DTO库获取可用数据库的列表.我从此处的PSQL SDK获得了该库- https://esd.actian.com/product/Zen_PSQL .

The connection between the application and Sage is created using ODBC. To create the ODBC connection I am using the PSQL DTO lib to get the list of available databases. I obtained the lib from the PSQL SDK here - https://esd.actian.com/product/Zen_PSQL.

我想知道在使用DTO获取可用数据库名称的功能时是否需要担心PSQL的不同版本.

I wanted to know if i need to worry about different versions of PSQL when using the DTO for the functionality of getting the available databases names.

谢谢!

只要坚持使用基本DTO库(而不是DTO2),您就应该能够一直支持PSQL v9(第一个)版本以支持DTO).

As long as you stick to the the base DTO library (and not DTO2) you should be able to support versions all the way back to PSQL v9 (the first version to support DTO).