Enable pg_collation_actual_version() to work on the default collation.
authorJeff Davis <jdavis@postgresql.org>
Sat, 29 Oct 2022 20:30:15 +0000 (13:30 -0700)
committerJeff Davis <jdavis@postgresql.org>
Mon, 31 Oct 2022 22:43:23 +0000 (15:43 -0700)
commit10932ed5e57b75e5e9aaa22aa0527ceeee55b6ca
tree72a60923d60fbfef88005d56dabf5f5e7f9b9b05
parent6e10631d1e6e350ba3f82b0bd3a29678f9f5badd
Enable pg_collation_actual_version() to work on the default collation.

Previously, it would simply return NULL, which was less useful.

Discussion: https://postgr.es/m/51fb77507cafd43fc1a2e733c23045873d93ae60.camel%40j-davis.com
Reviewed-by: Thomas Munro
src/backend/commands/collationcmds.c