Hello all.
First, I have been using PostgreSQL for some time now. Lately, I have been trying to figure out a new issue. Short queries, such select single commands, work fine. As soon as I try to read a larger number of records, say 50 rows each with 5 columns, I get an error that the server disconnected. The typical reason would be some network issue, according to a quick research on the web. I am working on that separately.
I have a doubt however that it is a network issue, since I can run the same queries on the same workstation and the same database with Navicat. In fact, even the largest queries that I can do on the database work just fine using Navicat. It could be a Xojo issue. But given my recent workstation issues (I changed workstations since), I am not ready to call it a Xojo issue just yet. My new workstation is a Core I5 13gen, 64GB RAM, Windows 11. My db server is Debian 12, PostgreSQL 16 running in a Proxmox VE VM (8 virtual cores, 16GB). Oh. I turned off both local firewalls and antivirus for testing, without any effect. Turned them back on. I confirmed the issue on 2023 R4 and newer releases.
Next step: connect using something other than the Xojo PostgreSQL plugin. MBS has a SQL plugin. So, I am trying to test the database connection with it. I am running into an issue of missing libraries. From previous posts, I understand that several libraries may be needed. I downloaded psqlodbc_16_00_0000-x64.zip from the Postgresql web site (I am using PostgreSQL 16 at the moment, but I also have a PostgreSQL 14 server should it be needed). I extracted all the libraries and placed them alongside the MBS example projects in my testing folder.
I am getting a missing lib error:
Questions:
1- does anyone have any suggestion about what else might be the root cause of the connection issue using the Xojo plugin?
2- what am I doing wrong trying to test with the MBS plugin?
Thanks! LD
8 posts - 4 participants