Estimados estoy con un error Urgente…
(La causa del error puede ser que cuando estaban trabajando se apago el servidor de forma inesperada
Descripcion del usuario: Estaba modificando el plan de estudios de Gestión Empresarial, creando una generérica, cuando la quise guardar, me salió que el servidor no estaba disponible, cuando pude entrar al sistema, clickie la lupa para ver el plan versión nueva y salió el mensaje)
Cuando habro planes de estudio en su segunda version me sale el siguiente error:
GRACIAS
La sentencia es demasiado larga o demasiado compleja
SQLSTATE: db_54001
CODIGO: 7
MENSAJE: ERROR: stack depth limit exceeded HINT: Increase the configuration parameter “max_stack_depth” (currently 2048kB), after ensuring the platform"s stack depth limit is adequate. CONTEXT: SQL statement “SELECT COUNT (relname) FROM pg_class WHERE relname = “temp_seq”” PL/pgSQL function “get_elemento_contenido” line 17 at SQL statement PL/pgSQL function “get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line get_plan_contenido.entidad_clase_gui as elemento_clase_gui, get_plan_contenido.elemento_padre, sga_elementos.codigo, get_plan_contenido.nombre, get_plan_contenido.elemento_revision, get_plan_contenido.elemento_comp, get_plan_contenido.orden From get_plan_contenido( “36” ), sga_elementos, sga_g3entidades_subtipos where get_plan_contenido.elemento = sga_elementos.elemento and sga_g3entidades_subtipos.entidad_subtipo = sga_elementos.entidad_subtipo ; – toba_log: 328334
La linea siguiente la corte porque supera las 20.000 lineas permitidas del foro, pero la idea es que se repite muchisimas veces!!!
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function
“get_elemento_contenido” line 93 at FOR over SELECT rows PL/pgSQL function