We store the metadata of our fields in a table named "fields", which during the update process of our solution, is copied as CSV file to the clients.
There, a "DELETE FROM fields" is running first, and then we import the CSV again so that our customers have again the current state of that metadata table.
Autovacuum is switched on at their postgres server.
The table statistic tells its size is 656 KB on our site, but 35 MB at the customer.
Although the "DELETE FROM fields" should always delete everything first, and Autovacuum did run two days ago.
I could try TRUNCATE instead, however as that is not standard SQL, I would rather like to know the root cause for the above.
By the way, when I backup the customer's database, that is then just 4 MB large, so the "real" size of that table is for sure not 35 MB.