Skip to content

Commit e9925ec

Browse files
committed
Merge pull request #572 from cvvergara/hotfix/issue549
Hotfix/issue549
2 parents a787c61 + 645d0c2 commit e9925ec

40 files changed

+322
-180
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ branches:
2727
only:
2828
- master
2929
- develop
30-
- hotFix/issue552
30+
- hotfix/issue549
3131

3232
env:
3333
- POSTGRESQL_VERSION=9.1
@@ -79,12 +79,12 @@ before_script:
7979

8080
script:
8181
- ./tools/travis/pgrouting_build.sh $POSTGRESQL_VERSION $POSTGIS_VERSION
82-
83-
after_script:
84-
# note: right takes the travis default
8582
- ./tools/travis/pgrouting_test.sh $POSTGRESQL_VERSION postgres
8683
- ./tools/testers/pg_prove_tests.sh postgres
8784

85+
after_script:
86+
# nothing
87+
8888
#after_success:
8989
#- ./tools/travis/pgrouting_deploy.sh $POSTGRESQL_VERSION $POSTGIS_VERSION
9090

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SET(POSTGRESQL_BIN "" CACHE STRING "Define optional path to PostgreSQL binaries
3131
# PGROUTING version number.
3232
set(PGROUTING_VERSION_MAJOR "2")
3333
set(PGROUTING_VERSION_MINOR "2")
34-
set(PGROUTING_VERSION_PATCH "2")
34+
set(PGROUTING_VERSION_PATCH "3")
3535

3636
set(PGROUTING_VERSION_STRING "${PGROUTING_VERSION_MAJOR}.${PGROUTING_VERSION_MINOR}.${PGROUTING_VERSION_PATCH}")
3737
set(PGROUTING_VERSION "${PGROUTING_VERSION_MAJOR}.${PGROUTING_VERSION_MINOR}")
@@ -41,7 +41,7 @@ set(POSTGIS_MINIMUM_VERSION "2.0.0")
4141

4242
file(STRINGS "${PGROUTING_SOURCE_DIR}/VERSION" PGROUTING_BUILD_STRING)
4343

44-
set(PGROUTING_GIT_TAG "pgrouting-2.2.2")
44+
set(PGROUTING_GIT_TAG "pgrouting-2.2.3")
4545
#string(REGEX REPLACE "^(.+)-([0-9]+)-g([0-9a-f]+) (.*)$" "\\1" PGROUTING_GIT_TAG ${PGROUTING_BUILD_STRING})
4646
string(REGEX REPLACE "^(.+)-([^-]+)-[0-9]+-g([0-9a-f]+) (.*)$" "\\2" PGROUTING_GIT_BUILD ${PGROUTING_BUILD_STRING})
4747
string(REGEX REPLACE "^(.+)-([0-9]+)-g([0-9a-f]+) (.*)$" "\\3" PGROUTING_GIT_HASH ${PGROUTING_BUILD_STRING})

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Changes for 2.2.3
2+
-------------------------------------------------------------------------------
3+
4+
- Fixed compatibility issues with PostgreSQL 9.6.
5+
6+
17
Changes for 2.2.2
28
-------------------------------------------------------------------------------
39

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### Branches
88

9-
The *master* branch reflects the current 2.2.2 release.
9+
The *master* branch reflects the current 2.2.3 release.
1010
The *develop* branch reflects the 2.3.0-dev
1111

1212

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pgrouting-2.2.2-12-g544044b master
1+
pgrouting-2.2.3-4-g6d05b9b master

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Change Log
177177

178178
:ref:`change_log`
179179

180+
- :ref:`changelog_2_2_3`
180181
- :ref:`changelog_2_2_2`
181182
- :ref:`changelog_2_2_1`
182183
- :ref:`changelog_2_2_0`

doc/src/changelog/2_2_3.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
..
2+
****************************************************************************
3+
pgRouting Manual
4+
Copyright(c) pgRouting Contributors
5+
6+
This documentation is licensed under a Creative Commons Attribution-Share
7+
Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/
8+
****************************************************************************
9+
10+
.. _changelog_2_2_3:
11+
12+
pgRouting 2.2.3 Release Notes
13+
===============================================================================
14+
15+
With the release of pgRouting 2.2.e fixes compatibility issues with PostgreSQL 9.6.
16+
17+
- To see the full list of changes check the list of `Git commits <https://github.com/pgRouting/pgrouting/commits>`_ on Github.
18+
- To see the issues closed by this release see the `Git closed issues <https://github.com/pgRouting/pgrouting/issues?q=milestone%3ARelease-2.2.3+is%3Aclosed>`_ on Github.
19+
- For important changes see the following release notes.
20+
21+
22+
Release Notes
23+
-------------------------------------------------------------------------------
24+
25+
26+
Changes for release 2.2.3
27+
28+
* Fixed compatibility issues with PostgreSQL 9.6.

doc/src/changelog/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
Release Notes
1313
===============================================================================
1414

15+
- :ref:`changelog_2_2_3`
1516
- :ref:`changelog_2_2_2`
1617
- :ref:`changelog_2_2_1`
1718
- :ref:`changelog_2_2_0`
@@ -22,6 +23,7 @@ Release Notes
2223
.. toctree::
2324
:hidden:
2425

26+
2_2_3
2527
2_2_2
2628
2_2_1
2729
2_2_0

doc/test/utilities-any.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.2
1+
2.2.3

src/allpairs/src/floydWarshall.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,22 +164,22 @@ floydWarshall(PG_FUNCTION_ARGS) {
164164
HeapTuple tuple;
165165
Datum result;
166166
Datum *values;
167-
char* nulls;
167+
bool* nulls;
168168

169169
/*********************************************************************/
170170
values = palloc(3 * sizeof(Datum));
171-
nulls = palloc(3 * sizeof(char));
171+
nulls = palloc(3 * sizeof(bool));
172172

173173
// postgres starts counting from 1
174174
values[0] = Int64GetDatum(result_tuples[call_cntr].from_vid);
175-
nulls[0] = ' ';
175+
nulls[0] = false;
176176
values[1] = Int64GetDatum(result_tuples[call_cntr].to_vid);
177-
nulls[1] = ' ';
177+
nulls[1] = false;
178178
values[2] = Float8GetDatum(result_tuples[call_cntr].cost);
179-
nulls[2] = ' ';
179+
nulls[2] = false;
180180
/*********************************************************************/
181181

182-
tuple = heap_formtuple(tuple_desc, values, nulls);
182+
tuple = heap_form_tuple(tuple_desc, values, nulls);
183183
result = HeapTupleGetDatum(tuple);
184184
SRF_RETURN_NEXT(funcctx, result);
185185
} else {

0 commit comments

Comments
 (0)