You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please capture the logs when the error you are reporting is happening, as well as commands with their outputs if you are reporting a problem build or installing
For problems using tds_fdw on PostgreSQL how to do it will depend on your system, but if your PostgreSQL is installed on GNU/Linux, you will want to use tail -f with the log of the PostgreSQL cluster
For MSSQL you will need to use the SQL Server Audit Log
ERROR: could not load library "/usr/lib64/pgsql/tds_fdw.so": /usr/lib64/pgsql/tds_fdw.so: undefined symbol: bms_is_empty
Sentences, data structures, data
This will depend on the exact problem you are having and data privacy restrictions
However the more data you provide, the more likely we will be able to help
As a bare minimum, you should provide
The SQL sentence that is failing
The data structure on the PostgreSQL side and on the MSSQL side
N/A
The text was updated successfully, but these errors were encountered:
I dont see bms_is_empty in my pgsql16 installation :
postgres@smadb:$ nm /usr/local/pgsql/lib/tds_fdw.so | grep bms_
U bms_del_member
U bms_equal
U bms_is_member
U bms_make_singleton
U bms_union
postgres@smadb:$
whereas this exists in my old pgsql10 installation :
postgres@test-smadbold:$ nm /usr/local/pgsql/lib/tds_fdw.so | grep bms_is_empty
U bms_is_empty
postgres@test-smadbold:$
In any case, your tds_fdw package seems broken, try to build tds_fdw-2.0.4 from source, against the correct pgsql (16) sources.
update : up to some version,at least in pgsql 10, bms_is_empty used to be a function, now at least in pgsql16 and 17, this is a macro. This means that your version of tds_fdw was compiled against a posgresql version before pgsql16. Hence broken.
Issue report
Operating system
On recent GNU/Linux distributions, you can provide the content of the file
/etc/os-release
Version of tds_fdw
From a
psql
session, paste the outputs of running\dx
If you built the package from Git sources, also paste the output of running
git log --source -n 1
on your git clone from a consoleThe package was installed from the PGDG repo using
sudo dnf install tds_fdw_16
Version of PostgreSQL
From a
psql
session, paste the output of runningSELECT version();
Version of FreeTDS
How to get it will depend on your Operating System and how you installes FreeTDS
From a console:
rpm -qa|grep freetds
dpkg -l|grep freetds
grep 'AC_INIT' configure.ac
Logs
Please capture the logs when the error you are reporting is happening, as well as commands with their outputs if you are reporting a problem build or installing
For problems using tds_fdw on PostgreSQL how to do it will depend on your system, but if your PostgreSQL is installed on GNU/Linux, you will want to use
tail -f
with the log of the PostgreSQL clusterFor MSSQL you will need to use the SQL Server Audit Log
Sentences, data structures, data
This will depend on the exact problem you are having and data privacy restrictions
However the more data you provide, the more likely we will be able to help
As a bare minimum, you should provide
The text was updated successfully, but these errors were encountered: