Skip to content

Commit

Permalink
Deux oublis de trad
Browse files Browse the repository at this point in the history
trouvés par Benoit Lobréau.
  • Loading branch information
gleu committed Jan 7, 2020
1 parent 2a0d98b commit af5d616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgresql/queries.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2154,9 +2154,9 @@ WITH RECURSIVE parcourt_graphe(id, lien, donnee, profondeur, chemin, boucle) AS
UNION ALL
SELECT g.id, g.lien, g.donnee, sg.profondeur + 1,
chemin || ROW(g.f1, g.f2),
ROW(g.f1, g.f2) = ANY(path)
ROW(g.f1, g.f2) = ANY(chemin)
FROM graphe g, parcourt_graphe sg
WHERE g.id = sg.link AND NOT boucle
WHERE g.id = sg.lien AND NOT boucle
)
SELECT * FROM parcourt_graphe;
</programlisting>
Expand Down

0 comments on commit af5d616

Please sign in to comment.