Hello Srinivasa,
Error message suggests that the table x_HIST does not have a constraint called x_pkey. Have you confirmed that it exists? Do a "\d+ x_HIST" to view the contraints.
Please also note that the community is a place to ask questions, but you have asked none in this.
Regards,
Peter