infinite loop in an update statement - Mailing list pgsql-general

From Fabrice Chapuis
Subject infinite loop in an update statement
Date
Msg-id CAA5-nLDmkuRbjHJvf2-Sz0FxtJtoFdrg4mUTy6N84UpZtGZJwQ@mail.gmail.com
Whole thread Raw
Responses Re: infinite loop in an update statement
Re: infinite loop in an update statement
List 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 by date:

Previous
From: Koen De Groote
Date:
Subject: Logical replication without direct link between publisher and subscriber?
Next
From: Achilleas Mantzios - cloud
Date:
Subject: Re: Strange permission effect depending on DEFERRABILITY