On the PostgreSQL documentation there's an example about how to update a subfield of a composite type:
We can update an individual subfield of a composite column:
UPDATE mytab SET complex_col.r = (complex_col).r + 1 WHERE ...;
Assuming we are using jOOQ and code generation, how would that translate to jOOQ code?