使用DTO获取数据库名称时使用不同版本的PSQL [英] Different versions of PSQL when using DTO to get DB's names

查看:155
本文介绍了使用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).

这篇关于使用DTO获取数据库名称时使用不同版本的PSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆