When I edit a row in the data grid on a PostgreSQL table with a uuid primary key, HeidiSQL generates the UPDATE like this:
UPDATE "public"."user" SET "email"=NULL WHERE "id"::text='abca3c35-9ed8-4e2b-864a-2d85f7fbcdc5';
The cast on the column ("id"::text) means PostgreSQL can't use the index on the uuid primary key, so every grid edit does a sequential scan. On large tables this makes editing noticeably slow. I don't remember this happening in older versions.
Is there a setting to change this behavior?
HeidiSQL version: 12.20.0.7320
PostgreSQL version: 14.20.0
Thanks