test data export fix for postgres-friendliness