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
I'm attempting to utilize Foreign Data Wrapper (FDW) to connect to a read-only secondary server on SQL Server. When connecting from a third-party tool, you can simply add the 'read-only' flag, for example, with SQLCMD:
sqlcmd -S "SQL01-AG1-list" -d WideWorldImporters-E -q "SELECT @@ServerName;" -Kreadonly
This can also be achieved using ODBC.
I try to explore if is it possible with tds_fdw ?
Operating system
LINUX / WINDOWS
Replace this with the content
Version of tds_fdw
every version : tds_fdw
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 console
Replace this with the output
Version of PostgreSQL
15.0 +
Replace this with the output
Version of FreeTDS
How to get it will depend on your Operating System and how you installes FreeTDS
From a console:
On RPM based systems: rpm -qa|grep freetds
On Deb based systems: dpkg -l|grep freetds
If you built your own binaries from source code, then go to the sources, and run: grep 'AC_INIT' configure.ac
Replace this with the output
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 cluster
For MSSQL you will need to use the SQL Server Audit Log
Replace this with the commands and outputs
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
Replace this with the SQL sentences, data structures, etc
The text was updated successfully, but these errors were encountered:
Issue report
I'm attempting to utilize Foreign Data Wrapper (FDW) to connect to a read-only secondary server on SQL Server. When connecting from a third-party tool, you can simply add the 'read-only' flag, for example, with SQLCMD:
sqlcmd -S "SQL01-AG1-list" -d WideWorldImporters-E -q "SELECT @@ServerName;" -Kreadonly
This can also be achieved using ODBC.
I try to explore if is it possible with tds_fdw ?
Operating system
LINUX / WINDOWS
Version of tds_fdw
every version : tds_fdw
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 consoleVersion of PostgreSQL
15.0 +
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: