apply pragma system_header to python headers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема apply pragma system_header to python headers
Дата
Msg-id ae523163-6d2a-4b81-a875-832e48dec502@eisentraut.org
обсуждение исходный текст
Ответы Re: apply pragma system_header to python headers  (Andrew Dunstan <andrew@dunslane.net>)
Re: apply pragma system_header to python headers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Analogous to 388e80132c (which was for Perl) but for Python, I propose 
adding #pragma GCC system_header to plpython.h.  Without it, you get 
tons of warnings about -Wdeclaration-after-statement, starting with 
Python 3.12.  (In the past, I have regularly sent feedback to Python to 
fix their header files, but this is getting old, and we have an easier 
solution now.)
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Synchronizing slots from primary to standby