Thread: BUG #2960: missing string replace function ODBC driver

BUG #2960: missing string replace function ODBC driver

From
"Dave Claes"
Date:
The following bug has been logged online:

Bug reference:      2960
Logged by:          Dave Claes
Email address:      dave.claes@vdp.com
PostgreSQL version: 8.2.1
Operating system:   windows
Description:        missing string replace function ODBC driver
Details:

Hello,

In the current ODBC drivers you can't use the string "replace" function.

When the following adjistments are made the "replace" function is available
for the ODBC drivers:

convert.c
74c74
< /*    { "REPLACE", "replace" }, ??? */
---
>       { "REPLACE", "replace($1,$2,$3)" },

info.c
698a699
>                                        SQL_FN_STR_REPLACE |

Best Regards,

Dave Claes