Kernel escribió: > De manera intencionada he generado un bucle, ¿Hay alguna manera de prevenir > esto?,¿hay alguna manera de limitar el numero de bucles?
Sí. https://www.postgresql.org/docs/9.5/static/queries-with.html Desde "When working with recursive queries it is important to be sure that the recursive part of the query will eventually return no tuples, or else the query will loop indefinitely." -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services - Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda@postgresql.org) Para cambiar tu suscripción: http://www.postgresql.org/mailpref/pgsql-es-ayuda