On 03.12.21 19:42, Chapman Flack wrote:
> Is there any way to find out, from the catalogs or in any automatable way,
> which types are implemented with a dependence on the database encoding
> (or on some encoding)?
What is this needed for? C code can internally do whatever it wants,
and the database encoding is effectively a constant, so there is no need
for server-side code to be very much concerned about whether types do this.
Also, "types" is perhaps the wrong subject here. Types only contain
input and output functions and a few more bits. Additional functions
operating on the type could look at the server encoding without the type
and its core functions knowing about it.