Skip to content

Commit c72dfe1

Browse files
committed
General cleanup and minor changes
- Removing unused SQL/legacy files from early versions of 2.x - On SQL comments of experimental functions/signatures - Adding/Standardizing PROPOSED/EXPERIENTAL keyword
1 parent a03b3fa commit c72dfe1

9 files changed

Lines changed: 14 additions & 19 deletions

File tree

docqueries/src/test.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
%main::tests = (
44
'any' => {
55
'files' => [qw(
6+
concepts.pg
7+
migration.pg
68
sampledata.pg
9+
withPoints-category.pg
710
)],
811
},
912
);

sql/contraction/contractionHierarchies.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ LANGUAGE SQL VOLATILE STRICT;
6363

6464
COMMENT ON FUNCTION pgr_contractionHierarchies(TEXT, BOOLEAN, BIGINT[])
6565
IS 'pgr_contractionHierarchies
66-
EXPERIMENTAL
66+
- EXPERIMENTAL
6767
- Parameters:
6868
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
6969
- Optional Parameters

sql/contraction/deadEndContraction.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ LANGUAGE SQL VOLATILE STRICT;
4444

4545
COMMENT ON FUNCTION pgr_contractionDeadEnd(TEXT, BOOLEAN, BIGINT[])
4646
IS 'pgr_contractionDeadEnd
47+
- PROPOSED
4748
- Parameters:
4849
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
4950
- Optional Parameters

sql/contraction/linearContraction.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ LANGUAGE SQL VOLATILE STRICT;
4444

4545
COMMENT ON FUNCTION pgr_contractionLinear(TEXT, BOOLEAN, BIGINT[])
4646
IS 'pgr_contractionLinear
47+
- PROPOSED
4748
- Parameters:
4849
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
4950
- Optional Parameters

sql/lineGraph/lineGraph.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ROWS 1000;
5151

5252
COMMENT ON FUNCTION pgr_lineGraph(TEXT, BOOLEAN)
5353
IS 'pgr_lineGraph
54-
- EXPERIMENTAL
54+
- PROPOSED
5555
- Parameters:
5656
- edges SQL with columns: id, source, target, cost [,reverse_cost]
5757
- Optional Parameters:

sql/max_flow/maxFlowMinCost.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ IS 'pgr_maxFlowMinCost(Many to One)
181181
';
182182

183183
COMMENT ON FUNCTION pgr_maxFlowMinCost(TEXT, ANYARRAY, ANYARRAY)
184-
IS 'EXPERIMENTAL pgr_maxFlowMinCost(Many to Many)
184+
IS 'pgr_maxFlowMinCost(Many to Many)
185185
- EXPERIMENTAL
186186
- Parameters:
187187
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
@@ -192,7 +192,7 @@ IS 'EXPERIMENTAL pgr_maxFlowMinCost(Many to Many)
192192
';
193193

194194
COMMENT ON FUNCTION pgr_maxFlowMinCost(TEXT, TEXT)
195-
IS 'EXPERIMENTAL pgr_maxFlowMinCost(Combinations)
195+
IS 'pgr_maxFlowMinCost(Combinations)
196196
- EXPERIMENTAL
197197
- Parameters:
198198
- Edges SQL with columns: id, source, target, cost [,reverse_cost]

sql/max_flow/maxFlowMinCost_Cost.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ IS 'pgr_maxFlowMinCost_Cost (Many to One)
141141
';
142142

143143
COMMENT ON FUNCTION pgr_maxFlowMinCost_Cost(TEXT, ANYARRAY, ANYARRAY)
144-
IS 'EXPERIMENTAL pgr_maxFlowMinCost_Cost (Many to Many)
144+
IS 'pgr_maxFlowMinCost_Cost (Many to Many)
145145
- EXPERIMENTAL
146146
- Parameters:
147147
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
@@ -152,7 +152,7 @@ IS 'EXPERIMENTAL pgr_maxFlowMinCost_Cost (Many to Many)
152152
';
153153

154154
COMMENT ON FUNCTION pgr_maxFlowMinCost_Cost(TEXT, TEXT)
155-
IS 'EXPERIMENTAL pgr_maxFlowMinCost_Cost (Combinations)
155+
IS 'pgr_maxFlowMinCost_Cost (Combinations)
156156
- EXPERIMENTAL
157157
- Parameters:
158158
- Edges SQL with columns: id, source, target, cost [,reverse_cost]

sql/metrics/betweennessCentrality.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ LANGUAGE SQL VOLATILE STRICT;
4848

4949
COMMENT ON FUNCTION pgr_betweennessCentrality(TEXT, BOOLEAN)
5050
IS 'pgr_betweennessCentrality
51+
- EXPERIMENTAL
5152
- Parameters:
5253
- edges SQL with columns: source, target, cost [,reverse_cost])
5354
- Optional Parameters:

sql/topology/nodeNetwork.sql

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -228,16 +228,5 @@ END;
228228
$BODY$ LANGUAGE 'plpgsql' VOLATILE STRICT COST 100;
229229

230230
-- COMMENTS
231-
COMMENT ON FUNCTION pgr_nodeNetwork(TEXT, DOUBLE PRECISION, TEXT, TEXT, TEXT, TEXT, BOOLEAN) IS 'pgr_nodeNetwork
232-
- Parameters
233-
- Edge table name
234-
- tolerance
235-
- Optional parameters
236-
- id := ''id''
237-
- the_geom := ''the_geom''
238-
- table_ending := ''noded''
239-
- rows_where := ''''
240-
- outall := false
241-
- DOCUMENTATION:
242-
- ${PROJECT_DOC_LINK}/pgr_nodeNetwork.html
243-
';
231+
COMMENT ON FUNCTION pgr_nodeNetwork(TEXT, DOUBLE PRECISION, TEXT, TEXT, TEXT, TEXT, BOOLEAN)
232+
IS 'pgr_nodeNetwork deprecated function on v3.8.0';

0 commit comments

Comments
 (0)