dalibo / pgtoolkit

Postgres Support from Python
https://pgtoolkit.rtfd.io/
PostgreSQL License
21 stars 10 forks source link

Conf parsing: turn off automagic detection #128

Open rdunklau opened 8 hours ago

rdunklau commented 8 hours ago

If a parameter is set as a value in a configuration files while surrounding it with quotes, it should be parsed as a string. For example, if a GUC contains a version number:

some_guc = '2.30`

The automagic parsing will return a python float, equal to 2.3.

dlax commented 3 hours ago

Thanks for the report, I'm removing this surprising behaviour for quoted values in #129.