79834512

Date: 2025-12-01 08:46:59
Score: 2
Natty:
Report link

Actually I would consider pgr_connectedComponents() a solution. It is not what I was initially looking for and introduces a dependency, but it is really short.

Considering the solution I was looking for it came to my mind that might that it might not require a recursive CTE. Walking all points and flood filling from each should do.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joachim Zobel