Pablo Delgado escribió:
> Tengo el siguiente error en mi log de PostgreSQL 12 y no llego a entender
> como solucionarlo:
> 
> 2023-10-07 16:03:06 UTC:LOG:  POWA connected to database powa
> 2023-10-07 16:03:06 UTC:ERROR:  query returned more than one row
> 2023-10-07 16:03:06 UTC:HINT:  Make sure the query returns a single row, or
> use LIMIT 1.
> 2023-10-07 16:03:06 UTC:CONTEXT:  PL/pgSQL function
> powa_take_snapshot(integer) line 31 at SQL statement
>         SQL statement "SELECT public.powa_take_snapshot()"
> 2023-10-07 16:03:06 UTC:LOG:  background worker "powa" (PID 34049) exited
> with exit code 1

Hola, eso es un bug en un módulo externo llamado POWA.  Podrías intentar
desactivarlo, pero si te interesa continuar usando POWA, fíjate si los
desarrolladores han publicado una versión más reciente que contenga una
corrección a algún problema relacionado.

Aparentemente, lo que hay que hacer es quitar "powa" de la línea
shared_preload_libraries en postgresql.conf (o busca en `select * from
pg_settings` si ese parámetro viene desde algún otro archivo).  Luego
reinicia el servidor.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
Bob [Floyd] used to say that he was planning to get a Ph.D. by the "green
stamp method," namely by saving envelopes addressed to him as 'Dr. Floyd'.
After collecting 500 such letters, he mused, a university somewhere in
Arizona would probably grant him a degree.              (Don Knuth)


Reply via email to