infinite loop in an update statement

Поиск
Список
Период
Сортировка
От Fabrice Chapuis
Тема infinite loop in an update statement
Дата
Msg-id CAA5-nLDmkuRbjHJvf2-Sz0FxtJtoFdrg4mUTy6N84UpZtGZJwQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: infinite loop in an update statement
Re: infinite loop in an update statement
Список pgsql-general
Hi,

table a and b are empty, this query does not return. It seems we enter in infinite loop.
why this update does not return instantly?

UPDATE table_a a                                                
 SET col1 = (SELECT MIN(b.col1)                               
                    FROM table_b b                                      
                    WHERE b.col2 = a.col2)

Regards,

Fabrice


В списке pgsql-general по дате отправления: