postgresql镜像使用帮助

使用说明

apt install curl ca-certificates
install -d /usr/share/postgresql-common/pgdg
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://mirrors.china.12306.work/repository/pg bookworm-pgdg main" | tee /etc/apt/sources.list.d/pg.list
apt update
apt install postgresql-16