Babelfish for PostgreSQL provides the capability for PostgreSQL to work with applications written for Microsoft SQL Server. Babelfish understands the SQL Server wire-protocol and T-SQL, the Microsoft SQL Server query and procedural language, so you don’t have to switch database drivers or rewrite all of your application queries.
I'm testing the compatibility of scripts for creating MS SQL Server databases. I could see that the col_length function is not being recognized by Babelfish.
Indeed, COL_LENGTH() is not currently supported by Babelfish. The Babelfish Compass tool would also tell you that if you ran your SQL code through it.
This is unrelated to the client being used.
What happened?
I'm testing the compatibility of scripts for creating MS SQL Server databases. I could see that the col_length function is not being recognized by Babelfish.
COL_LENGTH (Transact-SQL)
To reproduce the error I'm getting:
Version
BABEL_3_X_DEV (Default)
Extension
None
Which flavor of Linux are you using when you see the bug?
No response
Relevant log output
No response
Code of Conduct