Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl> writes:
> The following statement causes an error due to the fact that the distinct
> isn't producing distinct values anymore.
> This seems to be caused by the update of 'value' in the before-trigger.
Fix committed --- thanks for the report!
regards, tom lane