As of 257836a75, this returns: |postgres=# SELECT pg_collation_actual_version(123); |ERROR: cache lookup failed for collation 123 |postgres=# \errverbose |ERROR: XX000: cache lookup failed for collation 123 |LOCATION: get_collation_version_for_oid, pg_locale.c:1754
I'm of the impression that's considered to be a bad behavior for SQL accessible functions. In v13, it did the same thing but with different language: |ts=# SELECT pg_collation_actual_version(123); |ERROR: collation with OID 123 does not exist |ts=# \errverbose |ERROR: 42704: collation with OID 123 does not exist |LOCATION: pg_collation_actual_version, collationcmds.c:367 -- Justin