We use a PG cluster with de_DE.UTF-8 layout and thus our messages are also in german. The line below is an example where the code that expects english messages wouldn't work anymore for us. For this particular example we fixed it by changing this string to "existiert bereits". Are there any plans to support this? Thanks alot.
|
if strings.Contains(err.Error(), "already exists") { |
We use a PG cluster with de_DE.UTF-8 layout and thus our messages are also in german. The line below is an example where the code that expects english messages wouldn't work anymore for us. For this particular example we fixed it by changing this string to
"existiert bereits". Are there any plans to support this? Thanks alot.prometheus-postgresql-adapter/pkg/postgresql/client.go
Line 172 in 7b6d240