Constraint Problem


Read With Formatting | Free Open Source Tutorials Account

PostgreSQL
Thread: Constraint Problem


wingchun
Hi to all,

I use Postgresql 8 (for windows)and a java application.
I have a probem with a check constraint that use a function.The fuction contains a simple select count.

When i insert some data by one client the constranits works correctly, instead if i perform the same operation with two or more clients (simultaneously) , some time the contraints permits the insert of the data, but this fact should not be happen.

Please help me as soon as possible.

Thanks a lot.