Re: pgsql: instr_time: Represent time as an int64 on all platforms

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: instr_time: Represent time as an int64 on all platforms
Дата
Msg-id 20230124161108.b3bls2mc4kch6nve@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: instr_time: Represent time as an int64 on all platforms  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Hi,

On 2023-01-23 01:20:54 -0500, Tom Lane wrote:
> I'm inclined to think that we should fix the plpython code to be rigorous
> about including everything else we need before including the Python
> headers.

I tried that, but I think it's hard with the current split of plpython
headers. Several of the plpy* headers, most significantly plpy_typeio.h,
include "postgres" headers. Which means that .c files can't include
plpy_typeio.h and still maintain the ordering of plpython headers coming last.

The only way I see that maintains the split of the plpython headers is to
institute the rule that plpy_* can't have any includes other than plpython.h,
and all their dependencies have to come from plpython.h.


I'll go and start a dedicated thread, this is too big a mess to discuss just
on -committers.

Greetings,

Andres Freund



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Adjust interaction of CREATEROLE with role properties.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Improve exclude pattern file processing in pgindent