Thread: Use of undocumented functions

Use of undocumented functions

From
Daniel Cory
Date:

I’ve been looking at use of undocumented Postgres functions and I found four in the ODBC driver:

 

The POWER function maps to pow. It should be power. pow works but is undocumented.

The CONCAT function maps to textcat. It should be concat. textcat works is undocumented.

 

The LEFT and RIGHT functions are set to map to ltrunc and rtrunc. These functions don’t exist – it should just be left and right. The driver also doesn’t report that LEFT and RIGHT are supported.

 

Thanks,

Dan

Re: Use of undocumented functions

From
"Inoue, Hiroshi"
Date:
Hi Daniel,

On 2018/09/25 8:39, Daniel Cory wrote:

I’ve been looking at use of undocumented Postgres functions and I found four in the ODBC driver:

 

The POWER function maps to pow. It should be power. pow works but is undocumented.

The CONCAT function maps to textcat. It should be concat. textcat works is undocumented.

 

The LEFT and RIGHT functions are set to map to ltrunc and rtrunc. These functions don’t exist – it should just be left and right. The driver also doesn’t report that LEFT and RIGHT are supported.


Seems they are obsolete.
I would remove the maps.

regards,
Hiroshi Inoue

 

Thanks,

Dan



ウイルス フリー。 www.avg.com