The following bug has been logged on the website:
Bug reference: 14359
Logged by: Debarati Sengupta
Email address: debaratis(at)techmahindra(dot)com
PostgreSQL version: 9.4.5
Operating system: Windows
Description:
I have created tables with primary key as serial datatype, while inserting
data through functions at times the next value is not generated and it tries
inserting data with the same value, hence conflicting and raising error
saying the value already exists.