Re: Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Kane <andrew@ankane.org>
Cc: pgsql-hackers@postgresql.org
Date: 2024-09-13T20:58:20Z
Lists: pgsql-hackers
Andrew Kane <andrew@ankane.org> writes:
> 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?

AFAICS it's in the exact same place it was in earlier versions.
You might need to review your linking commands.

			regards, tom lane



Commits

  1. meson: Export all libcommon functions in Windows builds