modify CopyWithZone: for subclasses.
use pthread mutex to execute PgSQL serialize.
Use synthesized for locking