[WIP] Add scheleton of PostgreSql adapter.

[#60019012]
Use shallow copy instead of deepcopy in mysql detached adapter.