Il 07/05/19 12:12, Grigory Smolkin ha scritto:
>
> On 5/7/19 1:02 PM, Christoph Berg wrote:
>> Re: Grigory Smolkin 2019-05-07
>> <ad4e3d47-d94b-1e42-6ccb-bb88e1bdf832@postgrespro.ru>
>>>> Is there a way to build pg_probackup without using PostgreSQL sources?
>>> No, I`m afraid not, pg_probackup rely heavily on PostgreSQL code.
>>> Is it a problem?
>> Uh. That won't fly in Debian either. You need to solely depend on
>> whatever the postgresql-server-$version-dev packages ship, or copy
>> whatever other files to the pg_probackup source.
>
> Could I just make downloading PostgreSQL sources as one of the steps in
> debian/rules?
>
It is not allowed by the policies. Moreover, most the build environments
do not have access to the network for security reasons.
Regards,
Marco
--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it