From: | Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com> |
---|---|
To: | paulo matadr <saddoness(at)yahoo(dot)com(dot)br> |
Cc: | GENERAL <pgsql-general(at)postgresql(dot)org>, pgsql-general-owner(at)postgresql(dot)org |
Subject: | Re: Help on update. |
Date: | 2010-05-27 04:13:47 |
Message-ID: | OF5F8ECA45.62698D0D-ON65257730.0016B99B-65257730.00173063@ibsplc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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."
From | Date | Subject | |
---|---|---|---|
Next Message | Torsten Zühlsdorff | 2010-05-27 07:12:55 | Re: 110,000,000 rows |
Previous Message | Kenichiro Tanaka | 2010-05-27 02:37:30 | Re: Help on update. |