I have a question regarding the reading of a varchar(128000) column from a PostgreSQL database. After executing the query, I notice that the text is truncated to 4096 characters for all strings exceeding this length.How can I prevent this truncation?
Should I perform a cast in PostgreSQL within my query, and if so, which cast would you recommend?
Alternatively, should I modify the DataType.Xml configuration, and if yes, how should it be configured?
Checked this more thoroughly on our test database, and it looks like everything works correctly for me. I was able to import a value 128000 characters long from varchar, text, and xml columns.
Which connector are you using to connect to PostgreSQL - native or ODBC?
What are your EasyMorph and PostgreSQL versions?
Have you tried running a query to check the actual lengths of values in the column? Like SELECT LENGTH(col_name) FROM ...
It’s the native postgres driver. No odbc involved.
I’m going to check our postgres another time. I’ve checked in psql that length and type where genuinely varchar 128000, with length above 4096 for some values. I’ll get back to you with samples.