Re: Wrong column size using MIN/MAX without return result

Clemens Ladisch <[email protected]> Tue, 25 Sep 2018 08:43:00 +0200
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
Fabrízio de Royes Mello wrote:
> When we use MIN/MAX functions in a query returning CHAR without results, the column size is wrong.

The column size is the property of a column, so the return value of
a function does not really have this property.

> There are some config to fix this weird behaviour?

Have a look at "Unknown Sizes", "Text as LongVarChar", "Max Varchar",
and "Max LongVarChar": <https://odbc.postgresql.org/docs/config.html>


Regards,
Clemens