[Git][debian-gis-team/pgsql-ogr-fdw][master] 5 commits: New upstream version 1.1.4
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Jul 19 04:36:55 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / pgsql-ogr-fdw
Commits:
03109975 by Bas Couwenberg at 2023-07-19T05:21:33+02:00
New upstream version 1.1.4
- - - - -
e9e2c6fc by Bas Couwenberg at 2023-07-19T05:21:35+02:00
Update upstream source from tag 'upstream/1.1.4'
Update to upstream version '1.1.4'
with Debian dir 08a7d91006d19c8c2c72b235f1883207c09d33ea
- - - - -
25426b16 by Bas Couwenberg at 2023-07-19T05:27:48+02:00
New upstream release.
- - - - -
a5d3f5a3 by Bas Couwenberg at 2023-07-19T05:28:48+02:00
Revert postgresql-13 changes.
- - - - -
d4f6c65c by Bas Couwenberg at 2023-07-19T05:29:37+02:00
Set distribution to unstable.
- - - - -
5 changed files:
- .github/workflows/ci.yml
- Makefile
- debian/changelog
- debian/control
- ogr_fdw.c
Changes:
=====================================
.github/workflows/ci.yml
=====================================
@@ -5,50 +5,67 @@
name: "CI"
on:
push:
- branches-ignore:
- - 'master'
+# branches-ignore:
+# - 'master'
pull_request: ~
jobs:
linux:
- runs-on: ubuntu-latest
-
- env:
- PGVER: 14
+ name: "CI"
+ strategy:
+ fail-fast: false
+ matrix:
+ ci:
+ - { PGVER: 13 }
+ - { PGVER: 14 }
+ - { PGVER: 15 }
+ - { PGVER: 16 }
+ runs-on: ubuntu-latest
steps:
- name: 'Check Out'
- uses: actions/checkout at v2
+ uses: actions/checkout at v3
+
+ - name: 'Raise Priority for apt.postgresql.org'
+ run: |
+ cat << EOF >> ./pgdg.pref
+ Package: *
+ Pin: release o=apt.postgresql.org
+ Pin-Priority: 600
+ EOF
+ sudo mv ./pgdg.pref /etc/apt/preferences.d/
+ sudo apt update
- name: 'Install GDAL'
run: |
- sudo add-apt-repository ppa:ubuntugis/ppa
- sudo apt-get update
sudo apt-get install libgdal-dev
- name: 'Install PostgreSQL'
run: |
- sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
+ sudo apt-get purge postgresql-*
+ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg-snapshot main ${{ matrix.ci.PGVER }}" > /etc/apt/sources.list.d/pgdg.list'
+ curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
sudo apt-get update
- sudo apt-get -y install postgresql-$PGVER postgresql-server-dev-$PGVER
+ sudo apt-get -y install postgresql-${{ matrix.ci.PGVER }} postgresql-server-dev-${{ matrix.ci.PGVER }}
- name: 'Start PostgreSQL'
run: |
+ export PGVER=${{ matrix.ci.PGVER }}
export PGDATA=/var/lib/postgresql/$PGVER/main
export PGETC=/etc/postgresql/$PGVER/main
export PGBIN=/usr/lib/postgresql/$PGVER/bin
- # sudo su postgres -c "$PGBIN/pg_ctl --pgdata $PGDATA stop"
- # sudo $PGBIN/pg_ctlcluster $PGVER main stop
+ export RUNNER_USER=`whoami`
+ # make sure postgres user can access data files
+ sudo chmod -R 755 /home/${RUNNER_USER}
sudo cp ./ci/pg_hba.conf $PGETC/pg_hba.conf
- sudo su postgres -c "$PGBIN/pg_ctl --pgdata $PGDATA start -o '-c config_file=$PGETC/postgresql.conf -p 5432'"
+ sudo systemctl stop postgresql
+ sudo pg_ctlcluster $PGVER main start
+ sudo pg_lsclusters
- name: 'Build & Test'
run: |
- export PATH=/usr/lib/postgresql/$PGVER/bin/:$PATH
- make
+ export PATH=/usr/lib/postgresql/${{ matrix.ci.PGVER }}/bin/:$PATH
+ PG_CFLAGS=-Werror make
sudo make install
PGUSER=postgres make installcheck || (cat regression.diffs && /bin/false)
-
-
=====================================
Makefile
=====================================
@@ -45,7 +45,7 @@ endif
# substitution for @abs_srcdir@ until we can drop older
# version support
# https://github.com/postgres/postgres/commit/d1029bb5a26cb84b116b0dee4dde312291359f2a
-PG15 := $(shell [ $(PG_VERSION_NUM) -ge 90500 ] && echo yes)
+PG15 := $(shell [ $(PG_VERSION_NUM) -ge 150000 ] && echo yes)
ifeq ($(PG15),yes)
sql/%.sql: input/%.source
=====================================
debian/changelog
=====================================
@@ -1,11 +1,12 @@
-pgsql-ogr-fdw (1.1.3-2) UNRELEASED; urgency=medium
+pgsql-ogr-fdw (1.1.4-1) unstable; urgency=medium
* Team upload.
+ * New upstream release.
* Add Rules-Requires-Root to control file.
* Bump Standards-Version to 4.6.2, no changes.
* Bump debhelper compat to 13.
- -- Bas Couwenberg <sebastic at debian.org> Mon, 28 Nov 2022 19:48:02 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Wed, 19 Jul 2023 05:29:25 +0200
pgsql-ogr-fdw (1.1.3-1) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -13,9 +13,9 @@ Vcs-Git: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw.git
Homepage: https://github.com/pramsey/pgsql-ogr-fdw
Rules-Requires-Root: no
-Package: postgresql-13-ogr-fdw
+Package: postgresql-15-ogr-fdw
Architecture: any
-Depends: postgresql-13,
+Depends: postgresql-15,
${shlibs:Depends},
${misc:Depends}
Provides: postgresql-ogr-fdw
=====================================
ogr_fdw.c
=====================================
@@ -1559,7 +1559,11 @@ ogrLookupGeometryFunctionOid(const char* proname)
return InvalidOid;
}
+#if PG_VERSION_NUM < 160000
names = stringToQualifiedNameList(proname);
+#else
+ names = stringToQualifiedNameList(proname,NULL);
+#endif
#if PG_VERSION_NUM < 90400
clist = FuncnameGetCandidates(names, -1, NIL, false, false);
#elif PG_VERSION_NUM < 140000
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/449a3a0048c769452127a13bfe3ce8cda03b44da...d4f6c65cfda730830bd5933e4165ec8d77b6e8ca
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/449a3a0048c769452127a13bfe3ce8cda03b44da...d4f6c65cfda730830bd5933e4165ec8d77b6e8ca
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230719/01fe0841/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list