amvalidate(): cache lookup failed for operator class 123 - Mailing list pgsql-hackers

From Justin Pryzby
Subject amvalidate(): cache lookup failed for operator class 123
Date
Msg-id 20210513170122.GG27406@telsasoft.com
Whole thread Raw
Responses Re: amvalidate(): cache lookup failed for operator class 123
List pgsql-hackers
Per sqlsmith.

postgres=# select amvalidate(123);
ERROR:  cache lookup failed for operator class 123
postgres=# \errverbose 
ERROR:  XX000: cache lookup failed for operator class 123
LOCATION:  amvalidate, amapi.c:125

The usual expectation is that sql callable functions should return null rather
than hitting elog().

-- 
Justin



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: compute_query_id and pg_stat_statements
Next
From: Bruce Momjian
Date:
Subject: Re: compute_query_id and pg_stat_statements