The topology functions use the same names for id, source and target columns of the edge table, The fowllowing parameters have as default value:

id:

int4 Default id

source:

int4 Default source

target:

int4 Default target

the_geom:

text Default the_geom

oneway:

text Default oneway

rows_where:

text Default true to indicate all rows (this is not a column)

The following parameters do not have a default value and when used they have to be inserted in strict order:

edge_table:

text

tolerance:

float8

s_in_rules:

text[]

s_out_rules:

text[]

t_in_rules:

text[]

t_out_rules:

text[]

When the columns required have the default names this can be used (pgr_func is to represent a topology function)

pgr_func('edge_table')-- when tolerance is not requiredpgr_func('edge_table',0.001)-- when tolerance is required-- s_in_rule, s_out_rule, st_in_rules, t_out_rules are requiredSELECTpgr_analyzeOneway('edge_table',ARRAY['','B','TF'],ARRAY['','B','FT'],ARRAY['','B','FT'],ARRAY['','B','TF'])

When the columns required do not have the default names its strongly recommended to use the named notation.