Closed bencmbrook closed 3 years ago
Hey @bencmbrook ,
This looks like a odbc v2.x issue. That repo is over here: https://github.com/markdirish/node-odbc/issues/
Would you mind posting there? Thanks!
Oh, woops! Keep getting these links mixed. Posting there in a moment. Thanks for the redirect
When querying a table (in this case
SELECT schemaname, tablename FROM pg_catalog.pg_tables
), the returned values get cut off at 63 characters. When I inspect thecolumn
property from the result, I seecolumnSize: 63
, however, this does not appear to be the case with the underlying table. When I look at the table in a SQL client (e.g. Postico), the full values are present in the table, and the columns do not show size constraints.Rows:
Column metadata:
Could this be coming from node-odbc, or might this be an issue with the underlying driver? Or with ODBC itself?
In case it's relevant, I'm using the Redshift driver.