begriffs / pg_rational

Precise fractional arithmetic for PostgreSQL
MIT License
233 stars 14 forks source link

Fix regression failure with PG12 #11

Closed df7cb closed 4 years ago

df7cb commented 4 years ago

PG12 changed the default for extra_float_digits to be 1, reset it to 0 here here here here to have the same output on all versions.

Close #10.

df7cb commented 4 years ago

Fwiw, this passes the tests on PG9.6/10/11/12 on the apt.postgresql.org infrastructure.

begriffs commented 4 years ago

Thanks for the fix!