Rural Hunter <ruralhunter@xxxxxxxxx> wrote: > I still have this question: > same statement A,B,C,D update same row. The start order is > A->B->C-D. From what I've gotten, B/C/D got the lock before A. > Why did that happen? Did you do anything to prevent it from happening? If not, the OS scheduler is going to give time to one process or another in a fairly unpredictable way. -Kevin -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin