In zend, I've created mapper and model for a particular module. I'm trying to save a data into a table from a zend controller file
I am using postgresql as the database. I have set a table with primary key for auto incrementing
The table name and corresponding primary key is as follows:
tbl_user_group_business_prmission --table
pk_bint_user_group_business_prmission_id --primary key
Primary key generation is done as follows
nextval('tbl_user_group_business_prmission_pk_bint_user_group_business_prmission_id_seq'::regclass)
You can see that the parameter inside nextval() is more than 60 in count(character).This is the issue which I am facing. I.e. I am not able to insert data into this table, as this parameter exceeds 60 in count(character)
I am getting error something like this "primary key does not generate".
This issue comes only if the characters inside the nextval() exceed 60