-
Notifications
You must be signed in to change notification settings - Fork 30
Function any_value(text) not found pg 15 #62
Description
Hello,
I tried to generate the report in PostgreSQL 15 and got the following error:
psql -U postgres test -X -f gather_report.sql > /tmp/GatherReport.html psql:gather_report.sql:195: ERROR: no existe la función any_value(text) LÍNEA 4: SELECT p.relname "Partitioned Table", CONCAT(any_value(c.re... ^ SUGERENCIA: Ninguna función coincide en el nombre y tipos de argumentos. Puede ser necesario agregar conversión explícita de tipos. psql:gather_report.sql:483: ERROR: no existe la función any_value(text) LÍNEA 38: ...),count(*) FILTER (WHERE source = 'command line'),any_value(... ^ SUGERENCIA: Ninguna función coincide en el nombre y tipos de argumentos. Puede ser necesario agregar conversión explícita de tipos.
When I checked online, I found that
PostgreSQL 15 does not natively include an ANY_VALUE() aggregate function. This function was introduced in PostgreSQL 16.
thank you