Charan K <charank9223(at)gmail(dot)com> writes:
> I hope this email finds you well. We are currently in the process of
> migrating from PostgreSQL 13.2 to PostgreSQL 15, and we've encountered some
> issues during the restoration process.
> Error Details:
> 1. pg_restore: error: could not execute query: ERROR: column reference
> "wal_records" is ambiguous
Could you show us the statement causing this error?
> 2. pg_restore: error: could not execute query: ERROR: relation
> "metric_helpers.pg_stat_statements" does not exist
Presumably this is just cascading from the first error.
regards, tom lane