Hi @drejkzet,
Sorry that you are running into this issue. This is a known problem where when you use the PostGIS writer to write dynamically it acts as though the 'Lower Case Attribute Names' box is always checked. I have assigned this Question to the issue so should a fix be put in place you will be notified here.