Skip to content

Function any_value(text) not found pg 15 #62

@hivs77

Description

@hivs77

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions