Skip to content

pig repo add pgdg -u --region=china add aliyun instead of repo.pigsty.cc as mirror site for pgdg #26

@garylavayou

Description

@garylavayou

pig version

pig version 0.9.0 linux/amd64
build: HEAD 80c89c6 2025-12-28T08:05:39Z

OS version

NAME="Rocky Linux"
VERSION="9.7 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.7"

Results

Running pig repo add pgdg -u --region=china, the pgdg.repo contains following configurations

[pgdg-common]
name=pgdg-common
baseurl=https://mirrors.aliyun.com/postgresql/repos/yum/common/redhat/rhel-9.7-$basearch
enabled=1
gpgcheck=0
module_hotfixes=1

[pgdg18]
name=pgdg18
baseurl=https://mirrors.aliyun.com/postgresql/repos/yum/18/redhat/rhel-9.7-$basearch
enabled=1
gpgcheck=0
module_hotfixes=1

Expected

According to the The official PostgreSQL APT/YUM repository,
the base url prefix should be repo.pigsty.cc/yum/pgdg instead of mirrors.aliyun.com/postgresql/repos/yum.
and the os release number should be $releasever (current value 9) instead of 9.7.

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