Search Postgresql Archives

infinite loop in an update statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux