Skip to content

Commit

Permalink
Fixing a pgr_version bug
Browse files Browse the repository at this point in the history
  *	modified:   docqueries/version/doc-full_version.result
  *	modified:   docqueries/version/doc-version.result
  *	modified:   sql/version/version.sql
Note: this fix does not need to be backported because no more
"-dev" releases on 3.0 or 3.1
  • Loading branch information
cvvergara committed Oct 9, 2020
1 parent c63fe70 commit 3190c99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docqueries/version/doc-full_version.result
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ SET client_min_messages TO NOTICE;
SET
-- q1
SELECT * FROM pgr_full_version();
version | build_type | compile_date | library | system | postgresql | compiler | boost | hash
---------+------------+--------------+-----------------+--------------------------+---------------------------------------------+-----------+--------+-----------
3.2.0 | Debug | 2020/07/20 | pgrouting-3.2.0 | Linux-4.15.0-111-generic | PostgreSQL 12.2 (Ubuntu 12.2-2.pgdg18.04+1) | GNU-8.4.0 | 1.65.1 | 36c139adf
version | build_type | compile_date | library | system | postgresql | compiler | boost | hash
-----------+------------+--------------+-----------------+------------------------+---------------------------------------------+-----------+--------+------------
3.2.0-dev | Debug | 2020/10/07 | pgrouting-3.2.0 | Linux-5.4.0-48-generic | PostgreSQL 12.4 (Ubuntu 12.4-1.pgdg20.04+1) | GNU-8.4.0 | 1.71.0 | ed122decfb
(1 row)

-- q2
Expand Down
2 changes: 1 addition & 1 deletion docqueries/version/doc-version.result
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SET
SELECT pgr_version();
pgr_version
-------------
3.2.0
3.2.0-dev
(1 row)

-- q2
Expand Down
2 changes: 1 addition & 1 deletion sql/version/version.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
CREATE OR REPLACE FUNCTION pgr_version()
RETURNS TEXT AS
$BODY$
SELECT '${PGROUTING_VERSION}'::varchar AS pgr_version;
SELECT '${PGROUTING_VERSION}${PGROUTING_VERSION_DEV}'::varchar AS pgr_version;
$BODY$
LANGUAGE sql IMMUTABLE;

Expand Down

0 comments on commit 3190c99

Please sign in to comment.