Re: Resolving the python 2 -> python 3 mess

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Resolving the python 2 -> python 3 mess
Дата
Msg-id e259aa5f-e0c1-0169-5437-3e83d28ef575@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Resolving the python 2 -> python 3 mess  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: Resolving the python 2 -> python 3 mess  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Список pgsql-hackers
On 2/25/20 8:24 PM, Andrew Dunstan wrote:
> On 2/25/20 7:08 PM, Tom Lane wrote:
>> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>>> On 2/25/20 5:06 PM, Tom Lane wrote:
>>>> No joy there --- now that I look closer, it seems the cfbot doesn't
>>>> build any of the external-language PLs on Windows.  I'll have to
>>>> wait for some reviewer to try it.
>>> What are the requirements for testing? bowerbird builds with python 2.7,
>>> although I guess I should really try to upgrade it  3.x.
>> Has to be python 3, unfortunately; the patch has no effect on a
>> python 2 build.
>>
>>             
>
>
> Yeah, I have python3 working on drongo, I'll test there.
>

It's almost there, you need to add something like this to Mkvcbuild.pm:


    if ($solution->{options}->{python2_stub})
    {
        my $plpython2_stub =
          $solution->AddProject('plpython2', 'dll', 'PLs',
'src/pl/stub_plpython2');
        $plpython2_stub->AddReference($postgres);
    }

cheers


andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Commit fest manager for 2020-03
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Identifying user-created objects