[Bug]: sp_columns_100: Returned type character varying does not match expected type "varchar" #997
Closed
1 task done
Labels
bug
Something isn't working
What happened?
I am running
BABEL_2_2_1__PG_14_5
on Fedora 36.Executing the following T-SQL (extracted from mssql-jdbc):
Gives the following error:
The problematic column number 12 here is
REMARKS VARCHAR(254)
. If its definition in@mssqljdbc_temp_sp_columns_result
is changed toREMARKS VARCHAR(MAX)
, then the error message is the following:The initial T-SQL script passes correctly (and returns correct results) if I redefine the
sp_columns_100
(add casts to required data types) by executing the following (connecting into postgres session on 5432 port):Note 1: the scripts above were run after a fresh
initdb
using SQuirreL SQL editor with mssql-jdbc 8.2.2 andpostgresql-42.4.0
drivers.Note 2: this problem is also reproducible by calling JDBC method getColumns on mssql-jdbc driver.
Version
BABEL_1_X_DEV (Default)
Extension
babelfishpg_tsql (Default)
Which flavor of Linux are you using when you see the bug?
Fedora
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: