Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows

Andrew Kane <andrew@ankane.org>

From: Andrew Kane <andrew@ankane.org>
To: pgsql-hackers@postgresql.org
Date: 2024-09-13T20:07:13Z
Lists: pgsql-hackers
Hi,

With Postgres 17 RC1 on Windows, `float_to_shortest_decimal_buf` and
`float_to_shortest_decimal_bufn` are not longer exported. This causes
`unresolved external symbol` linking errors for extensions that rely on
these functions (like pgvector). Can these functions be exported like
previous versions of Postgres?

Thanks,
Andrew

Commits

  1. meson: Export all libcommon functions in Windows builds