pgsql: Fix typo in comment of compute_return_type() in functioncmds.c

2024-12-25 Thread Michael Paquier
Fix typo in comment of compute_return_type() in functioncmds.c Author: Japin Li Discussion: https://postgr.es/m/me0p300mb0445d51bcfa8680f0b35fd6eb6...@me0p300mb0445.ausp300.prod.outlook.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a86cfcae7c58049c7a3a60118ef

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libpgport that need special CFLAGS to compile. Currently, that includes the CRC-32 functions. Commit 2571c1d5cc did this for libcommon, but I missed that

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libpgport that need special CFLAGS to compile. Currently, that includes the CRC-32 functions. Commit 2571c1d5cc did this for libcommon, but I missed that

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libpgport that need special CFLAGS to compile. Currently, that includes the CRC-32 functions. Commit 2571c1d5cc did this for libcommon, but I missed that

pgsql: Add commit 301de6a6f60 to .git-blame-ignore-revs.

2024-12-25 Thread Peter Eisentraut
Add commit 301de6a6f60 to .git-blame-ignore-revs. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/4c9b453c91b201264c6d60a3de197115c8feaee0 Modified Files -- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+)

pgsql: Partial pgindent of .l and .y files

2024-12-25 Thread Peter Eisentraut
Partial pgindent of .l and .y files Trying to clean up the code a bit while we're working on these files for the reentrant scanner/pure parser patches. This cleanup only touches the code sections after the second '%%' in each file, via a manually-supervised and locally hacked up pgindent. Branch

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libcommon. This was reported with pgvector. Reported-by: Andrew Kane Author: Vladlen Popolitov Backpatch-through: 16, where Meson was introduced Discussio

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libcommon. This was reported with pgvector. Reported-by: Andrew Kane Author: Vladlen Popolitov Backpatch-through: 16, where Meson was introduced Discussio

pgsql: meson: Export all libcommon functions in Windows builds

2024-12-25 Thread Heikki Linnakangas
meson: Export all libcommon functions in Windows builds This fixes "unresolved external symbol" errors with extensions that use functions from libcommon. This was reported with pgvector. Reported-by: Andrew Kane Author: Vladlen Popolitov Backpatch-through: 16, where Meson was introduced Discussio

pgsql: guc: reentrant scanner

2024-12-25 Thread Peter Eisentraut
guc: reentrant scanner Use the flex %option reentrant to make the generated scanner reentrant, and perhaps eventually thread-safe, but that will require additional work. Reviewed-by: Heikki Linnakangas Reviewed-by: Andreas Karlsson Discussion: https://www.postgresql.org/message-id/flat/eb6faea