text: WITH RECURSIVE search_tree(id, link, data, path) AS (
      SELECT t.id, t.link, t.data, ARRAY[ROW(t.f1, t.f2)]
      FROM tree t
    UNION ALL
      SELECT t.id, t.link, t.data, path || ROW(t.f1, t.f2)
      FROM tree t, search_tree st
      WHERE t.id = st.link
  )
  SELECT * FROM search_tree ORDER BY path;
  