> Hey Stefan,
> 
> The sounds like you have a field "id" in you "c_transactions" without
> default value (which usually should be nextval('some_sequence'::regclass).
> Do you create a sequence for "c_transactions"."id" ?
> 

Hi Dmitriy,

yes it's right, the id column does not have a default value and it shouldn't 
also. What do you mean with "Do you create a sequence for "c_transactions"."id" 
?" ? When values are inserted into the table, I find out in my code the next 
higher value for the id and insert this with the data.

Thanks, Stefan




-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to