Skip to content

Commit 1d7e1ef

Browse files
committed
remove trailing spaces on sql directory
1 parent b46c4f4 commit 1d7e1ef

10 files changed

Lines changed: 20 additions & 20 deletions

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6652-3997c53 release/2.6
1+
6653-b46c4f4 release/2.6

sql/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endif()
4141
# TARGET: PgRouting_SQL_FILE
4242
#
4343
# Builds: pgrouting--${PGROUTING_VERSION}.sql
44-
#
44+
#
4545
# add the scripts subdirectory
4646
# the variable ${PgRouting_SQL_FILES} should already be set at this point
4747
#
@@ -86,7 +86,7 @@ foreach (old_s ${OLD_SIGNATURES})
8686
add_custom_command(
8787
OUTPUT pgrouting--${old_s}--${PGROUTING_VERSION}.sql
8888
COMMAND ${PERL_EXECUTABLE} ./scripts/build-extension-update-files1.pl ${old_s} ${PgRouting_DEBUG}
89-
DEPENDS
89+
DEPENDS
9090
./scripts/build-extension-update-files1.pl
9191
${PgRouting_CURRENT_SQL_FILE}
9292
PgRouting_SQL_FILE

sql/components/articulationPoints.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated with Template by:
55
Copyright (c) 2016 pgRouting developers
66
Mail: project@pgrouting.org
77
8-
Function's developer:
8+
Function's developer:
99
Copyright (c) 2017 Celia Virginia Vergara Castillo
1010
Mail: vicky_vergara@hotmail.com
1111

sql/components/biconnectedComponents.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated with Template by:
55
Copyright (c) 2016 pgRouting developers
66
Mail: project@pgrouting.org
77
8-
Function's developer:
8+
Function's developer:
99
Copyright (c) 2017 Celia Virginia Vergara Castillo
1010
Mail: vicky_vergara@hotmail.com
1111

sql/components/bridges.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated with Template by:
55
Copyright (c) 2016 pgRouting developers
66
Mail: project@pgrouting.org
77
8-
Function's developer:
8+
Function's developer:
99
Copyright (c) 2017 Celia Virginia Vergara Castillo
1010
Mail: vicky_vergara@hotmail.com
1111
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3030
CREATE OR REPLACE FUNCTION pgr_bridges(
3131
TEXT, -- edges_sql
3232
OUT seq INTEGER, -- seq
33-
OUT edge BIGINT) -- the number of the edge
33+
OUT edge BIGINT) -- the number of the edge
3434

3535
RETURNS SETOF RECORD AS
3636
'$libdir/${PGROUTING_LIBRARY_NAME}', 'bridges'

sql/components/connectedComponents.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated with Template by:
55
Copyright (c) 2016 pgRouting developers
66
Mail: project@pgrouting.org
77
8-
Function's developer:
8+
Function's developer:
99
Copyright (c) 2017 Celia Virginia Vergara Castillo
1010
Mail: vicky_vergara@hotmail.com
1111

sql/components/strongComponents.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated with Template by:
55
Copyright (c) 2016 pgRouting developers
66
Mail: project@pgrouting.org
77
8-
Function's developer:
8+
Function's developer:
99
Copyright (c) 2017 Celia Virginia Vergara Castillo
1010
Mail: vicky_vergara@hotmail.com
1111

sql/scripts/build-extension-file.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sub Usage {
3434

3535
print "Working_directory $working_directory\n" if $DEBUG;
3636
print "out_file_name $out_file_name\n" if $DEBUG;
37-
37+
3838
open(OUT, ">", "$out_file_name")
3939
|| die "@PgRouting_CURRENT_SQL_FILE@ ERROR: failed to create: '$out_file_name' : $!\n";
4040

sql/scripts/build-extension-update-files1.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sub Usage {
6666
die "ERROR: Failed to find: current sql file: '$curr_sql_file_name'\n" unless -f $curr_sql_file_name;
6767

6868
######################################################
69-
# process section
69+
# process section
7070
######################################################
7171
#
7272
print "Building the updating files\n" if $DEBUG;
@@ -402,7 +402,7 @@ sub pgr_trsp {
402402

403403
push @commands, "-- pgr_trspviaedges\n";
404404
push @commands, "-- $old_version: {sql, eids, pcts, directed, has_reverse_cost,turn_restrict_sql} \n";
405-
push @commands, "-- $new_version: {sql, eids, pcts, directed, has_rcost, turn_restrict_sql}\n";
405+
push @commands, "-- $new_version: {sql, eids, pcts, directed, has_rcost, turn_restrict_sql}\n";
406406
push @commands, drop_special_case_function("pgr_trspviaedges(text,integer[],double precision[],boolean,boolean,text)", $old_version, $new_version);
407407
}
408408

@@ -427,7 +427,7 @@ sub pgr_bddijkstra {
427427

428428
push @commands, "-- pgr_bddijkstra\n";
429429
push @commands, "-- $old_version: { sql, source_vid, target_vid, directed, has_reverse_cost} \n";
430-
push @commands, "-- $new_version: {edges_sql, start_vid, end_vid, directed, has_rcost}\n";
430+
push @commands, "-- $new_version: {edges_sql, start_vid, end_vid, directed, has_rcost}\n";
431431
my $update_command = "
432432
UPDATE pg_proc SET
433433
proargnames = '{\"edges_sql\",\"start_vid\",\"end_vid\",\"directed\",\"has_rcost\"}'
@@ -456,7 +456,7 @@ sub pgr_ksp {
456456

457457
push @commands, "-- pgr_ksp\n";
458458
push @commands, "-- $old_version: { sql, start_vid, end_vid, k, directed, heap_paths, seq, path_id, path_seq, node,edge, cost, agg_cost}\n";
459-
push @commands, "-- $new_version: {edges_sql, start_vid, end_vid, k, directed, heap_paths, seq, path_id, path_seq, node,edge, cost, agg_cost}\n";
459+
push @commands, "-- $new_version: {edges_sql, start_vid, end_vid, k, directed, heap_paths, seq, path_id, path_seq, node,edge, cost, agg_cost}\n";
460460
push @commands, drop_special_case_function("pgr_ksp(text,bigint,bigint,integer,boolean,boolean)", $old_version, $new_version);
461461
}
462462

@@ -708,7 +708,7 @@ sub get_current_sql {
708708

709709

710710
$contents =~ s/\\echo Use "CREATE EXTENSION pgrouting" to load this file. \\quit//;
711-
711+
712712
return $contents
713713
}
714714

sql/trsp/trsp_V2.2.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ BEGIN
102102

103103
restrictions_query = $$
104104
WITH old_restrictions AS ( $$ ||
105-
$6 || $$
105+
$6 || $$
106106
)
107-
SELECT ROW_NUMBER() OVER() AS id,
107+
SELECT ROW_NUMBER() OVER() AS id,
108108
_pgr_array_reverse(array_prepend(target_id, string_to_array(via_path, ',')::INTEGER[])) AS path,
109109
to_cost AS cost
110110
FROM old_restrictions;
@@ -262,9 +262,9 @@ BEGIN
262262
union_sql = union_sql1;
263263
ELSE IF union_sql1 IS NULL AND union_sql2 IS NOT NULL THEN
264264
union_sql = union_sql2;
265-
END IF;
266-
END IF;
267-
END IF;
265+
END IF;
266+
END IF;
267+
END IF;
268268

269269
IF union_sql IS NULL THEN
270270
-- no points then its a dijkstra

0 commit comments

Comments
 (0)