Re: windows cfbot failing: my_perl
От
Andres Freund
Тема
Re: windows cfbot failing: my_perl
Дата
Msg-id
20220826211507.vaepb2nzlh3krxdg@awork3.anarazel.de
Ответ на
Re: windows cfbot failing: my_perl (Andrew Dunstan)
Список
Дерево обсуждения
windows cfbot failing: my_perl Justin Pryzby <pryzby@telsasoft.com>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl John Naylor <john.naylor@enterprisedb.com>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl Tom Lane <tgl@sss.pgh.pa.us>
Re: windows cfbot failing: my_perl Andrew Dunstan <andrew@dunslane.net>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl John Naylor <john.naylor@enterprisedb.com>
Re: windows cfbot failing: my_perl Tom Lane <tgl@sss.pgh.pa.us>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl John Naylor <john.naylor@enterprisedb.com>
Re: windows cfbot failing: my_perl John Naylor <john.naylor@enterprisedb.com>
Re: windows cfbot failing: my_perl Andres Freund <andres@anarazel.de>
Re: windows cfbot failing: my_perl John Naylor <john.naylor@enterprisedb.com>
Hi, On 2022-08-26 17:05:52 -0400, Andrew Dunstan wrote: > On 2022-08-26 Fr 10:47, Andres Freund wrote: > > Given the crazy defines of stuff like free, it seems like a good idea to have > > a rule that no headers should be included after plperl.h with > > PG_NEED_PERL_XSUB_H defined. It's not like there's not other chances of of > > pulling in malloc.h from within pg_wchar.h somehow. > > > > It's a bit ugly to have the mb/pg_wchar.h in plperl.h instead of > > plperl_helpers.h, but ... > It's already included directly in plperl.c, so couldn't we just lift it > directly into SPI.xs and Util.xs? I think it'd also be needed in hstore_plperl.c, jsonb_plperl.c. Putting the include in plperl.h would keep that aspect transparent, because plperl_utils.h includes plperl.h. I don't think manually including all dependencies, even if it's just one, in each of the six files currently using plperl_utils.h is a good approach. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления