tds_fdw | PostgreSQL foreign data wrapper to connect to TDS databases | SQL Database library
kandi X-RAY | tds_fdw Summary
kandi X-RAY | tds_fdw Summary
This is a PostgreSQL foreign data wrapper that can connect to databases that use the Tabular Data Stream (TDS) protocol, such as Sybase databases and Microsoft SQL server. This foreign data wrapper requires a library that implements the DB-Library interface, such as FreeTDS. This has been tested with FreeTDS, but not the proprietary implementations of DB-Library. This should support PostgreSQL 9.2+. The current version does not yet support JOIN push-down, or write operations. It does support WHERE and column pushdowns when match_column_names is enabled.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tds_fdw
tds_fdw Key Features
tds_fdw Examples and Code Snippets
Community Discussions
Trending Discussions on tds_fdw
QUESTION
I have created several foreign tables already, and they all work fine, but now I have to deal with a table that has a column containing 20-30 KB of text in some rows. If that text is small, it is rendered in full, but if it happens to be longer than 2048 characters, the rest is cut off.
My tds_fdw setup:
...ANSWER
Answered 2021-Oct-24 at 19:29Thanks to @FlipperPA. In short, the solution I take is to set the "text size" parameter of /etc/freetds/freetds.conf or /var/lib/postgresql/.freetds.conf to the maximum value (4294967295):
QUESTION
I just set up a new foreign table and it works as intended if I just select the "ID" (integer) field.
When I add the "Description"(text) field and try to select the table, it fails with this error message:
...ANSWER
Answered 2021-Oct-06 at 08:34As Laurenz Albe suggested in the comments, I created a freetds.conf
in my PostgreSQL folder with the following content:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tds_fdw
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page