Skip to content

Support Older LibCurl Builds #283

Description

@AndrewJackson2020

We may want to consider supporting older libcurl builds with pg_net. The main reason for wanting to do this is that using such a bleeding edge libcurl severely limits the distribution of pg_net.

Looking at rockylinux, for example, pg_net will only build on rocky10 which very few people use. pg_net will absolutely not build on rocky8 or 9 which will be used for years in various enterprise orgs. I would imagine this looks the same for Debian/ubuntu. This reflects in the pgrpms repo where pg_net packages are only provided for EL10 but not EL 9 or EL8.

aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/ > podman run -it rockylinux:10 dnf list installed 'libcurl*'
Installed Packages
libcurl-minimal.aarch64                  8.12.1-4.el10                   @6aaf70bcffc94070bd561609732be3db
aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/ > podman run -it rockylinux:9 dnf list installed 'libcurl*'
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Installed Packages
libcurl-minimal.x86_64                   7.76.1-40.el9                   @e8f61db5984c4f5e99b7f40b07286614
aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/ > podman run -it rockylinux:8 dnf list installed 'libcurl*'
Installed Packages
libcurl-minimal.aarch64                               7.61.1-34.el8                                @System
aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/ >
aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/pgrpms/ > git remote -v
origin	https://git.postgresql.org/git/pgrpms.git (fetch)
origin	https://git.postgresql.org/git/pgrpms.git (push)

aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/pgrpms/ > find . | grep pgsql_http | grep EL | grep 18
./rpm/redhat/18/pgsql_http/EL-9
./rpm/redhat/18/pgsql_http/EL-10
./rpm/redhat/18/pgsql_http/EL-8

aj@Andrews-MacBook-Pro:~/Repos/mono/external/repos/public/pgrpms/ > find . | grep pg_net | grep EL | grep 18
./rpm/redhat/18/pg_net/EL-10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions