This PR converts three plpgsql functions in the `transportation_name` layer to sql functions, which perform better.
class=path