Hello, While I can't answer my question, I am afraid I did not understand your intentions either. The update you mentioned may not return consistent results, isn't it? You are not ordering the data in any particular manner and there is no unique column either. So the result of the update will depend on the order in which the data is fetched - which need not be consistent? If data is fetched as I J ---------- ---------- 1 2 1 3 1 4 update will result in one set of data. 1 2 1 5 1 7 If the query returns I J ---------- ---------- 1 4 1 2 1 3 the result of the update will be different? 1 4 1 6 1 5 Regards, Jayadevan DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect." -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general