If db.Connect then
MsgBox “We are connected!”
MsgBox "Server Version: "+db.Connection.ServerVersionString
else
MsgBox db.ErrorMessage
End if
[/code]
The following error is generated:
dlopen(libpq.dylib, 1): no suitable image found. Did find:
/usr/lib/libpq.dylib: mach-o, but wrong architecture
dlopen(libpq.5.dylib, 1): no suitable image found. Did find:
/usr/lib/libpq.5.dylib: mach-o, but wrong architecture
DBMS API Library loading fails
This library is a part of DBMS client installation, not SQLAPI++
Make sure DBMS client is installed and
this required library is available for dynamic loading
A string describes PostgreSQL connection optinons, The fromat is “[<server_name>]@][database_name][;]”:
“” or “@” - empty string or ‘@’ character, connects to a local server.
“<database_name>” or “@ <database_name>” - connects to a database with the specified name on local server.
“<server_name>@” - connects to the specified server.
“<server_name>@<database_name>” - connects to a database with the specified name on the specified server.
<server_name> can be a cobination of hostname/address and port number (<server_name> = [,])) or unix_socket path.
Yes, the application is a medical data application were a secure connection is required. We are currently using SSL via Xojo.
We are having an issue with the Xojo having trouble handling blob data (crashing) in the Windows OS only and I was testing the MBS plugin to see if it handled it better. Upon reading the info on the MBS plugin, I was hoping there might be better performance as well.