[Git][debian-gis-team/pgsql-ogr-fdw][master] 4 commits: New upstream version 1.0.12

Bas Couwenberg gitlab at salsa.debian.org
Tue May 26 05:06:07 BST 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / pgsql-ogr-fdw


Commits:
caaf4f8b by Bas Couwenberg at 2020-05-26T05:53:00+02:00
New upstream version 1.0.12
- - - - -
2b32f1d7 by Bas Couwenberg at 2020-05-26T05:53:01+02:00
Update upstream source from tag 'upstream/1.0.12'

Update to upstream version '1.0.12'
with Debian dir 724b47fcd9484fda7c6ed45035eb3f86b246f13b
- - - - -
810c633f by Bas Couwenberg at 2020-05-26T05:53:20+02:00
New upstream release.

- - - - -
ffb4977f by Bas Couwenberg at 2020-05-26T05:54:18+02:00
Set distribution to unstable.

- - - - -


2 changed files:

- debian/changelog
- ogr_fdw.c


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pgsql-ogr-fdw (1.0.12-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 26 May 2020 05:54:04 +0200
+
 pgsql-ogr-fdw (1.0.11-1) unstable; urgency=medium
 
   * Team upload.


=====================================
ogr_fdw.c
=====================================
@@ -1333,7 +1333,12 @@ ogrReadColumnData(OgrFdwState* state)
 	tbl = palloc0(sizeof(OgrFdwTable));
 
 	/* One column for each PgSQL foreign table column */
+#if PG_VERSION_NUM < 120000
 	rel = heap_open(state->foreigntableid, NoLock);
+#else
+	rel = table_open(state->foreigntableid, NoLock);
+#endif /* PG_VERSION_NUM */
+
 	tupdesc = rel->rd_att;
 	state->tupdesc = tupdesc;
 	tbl->ncols = tupdesc->natts;
@@ -1493,7 +1498,12 @@ ogrReadColumnData(OgrFdwState* state)
 		}
 	}
 	pfree(ogr_fields);
+#if PG_VERSION_NUM < 120000
 	heap_close(rel, NoLock);
+#else
+	table_close(rel, NoLock);
+#endif /* PG_VERSION_NUM */
+
 
 	return;
 }



View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/02faaf03a41adfbcf267dca5d6dbe40a43578e7d...ffb4977fc94c8464ccda6a6b5ffa9ef8868f2a1c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/02faaf03a41adfbcf267dca5d6dbe40a43578e7d...ffb4977fc94c8464ccda6a6b5ffa9ef8868f2a1c
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/20200526/bba35f14/attachment-0001.html>


More information about the Pkg-grass-devel mailing list