BUG #14291: Sequence ID gets modified even for "on conflict" update - Mailing list pgsql-bugs

From mitramaddy@gmail.com
Subject BUG #14291: Sequence ID gets modified even for "on conflict" update
Date
Msg-id 20160820221708.1517.56191@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #14291: Sequence ID gets modified even for "on conflict" update
List pgsql-bugs
VGhlIGZvbGxvd2luZyBidWcgaGFzIGJlZW4gbG9nZ2VkIG9uIHRoZSB3ZWJz
aXRlOgoKQnVnIHJlZmVyZW5jZTogICAgICAxNDI5MQpMb2dnZWQgYnk6ICAg
ICAgICAgIE1hZGR5IEpvbmVzCkVtYWlsIGFkZHJlc3M6ICAgICAgbWl0cmFt
YWRkeUBnbWFpbC5jb20KUG9zdGdyZVNRTCB2ZXJzaW9uOiA5LjUuNApPcGVy
YXRpbmcgc3lzdGVtOiAgIFdpbmRvd3MgMTAKRGVzY3JpcHRpb246ICAgICAg
ICAKCkhpLCBIZXJlIGFyZSB0aGUgc3RlcHMgdG8gcmVwbGljYXRlIHRoZSBi
dWc6DQoNClN0ZXAgMTogQ3JlYXRlIGEgc2ltcGxlIHRhYmxlDQpDUkVBVEUg
VEFCTEUgcHVibGljLnRlc3QNCigNCiAgdXNlcm5hbWUgdGV4dCBOT1QgTlVM
TCwNCiAgZnVsbG5hbWUgdGV4dCwNCiAgaWQgYmlnaW50IE5PVCBOVUxMIERF
RkFVTFQgbmV4dHZhbCgndGVzdF9pZF9zZXEnOjpyZWdjbGFzcyksDQogIENP
TlNUUkFJTlQgcHJpbWFyeV90ZXN0IFBSSU1BUlkgS0VZICh1c2VybmFtZSkN
CikNCg0KU3RlcCAyIC0gSGVyZSBpcyB0aGUgc2VxdWVuY2UgSUQ6DQoNCkNS
RUFURSBTRVFVRU5DRSBwdWJsaWMudGVzdF9pZF9zZXENCiAgSU5DUkVNRU5U
IDENCiAgTUlOVkFMVUUgMQ0KICBNQVhWQUxVRSA5MjIzMzcyMDM2ODU0Nzc1
ODA3DQogIFNUQVJUIDENCiAgQ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jlc3FsIGZpcnN0IHVwZGF0ZXMgdGVz
dF9pZF9zZXEgZXZlbiB0aG91Z2gKdGhlcmUgYXJlIG5vIGFjdHVhbCBpbnNl
cnRzIGhhcHBlbmluZy4gSXQgc2hvdWxkIG9ubHkgaW5jcmVtZW50IHRlc3Rf
aWRfc2VxCndoZW4gaXQgZG9lcyBhbiBhY3R1YWwgaW5zZXJ0Lg0KDQpJIGhh
dmUgYSBTUUwgVVBTRVJUIGNvbW1hbmQgd2hpY2ggcnVucyBhcm91bmQgMTAw
MCB0aW1lcy4gV2hhdCBpcyBoYXBwZW5pbmcKaXMgaWQgZm9yIGJyYW5kIG5l
dyBpbnNlcnQgaXMgMS4gVGhlbiBydW4gdGhlIHVwc2VydCBjb21tYW5kIDEw
MDAgdGltZXMuIE5vdwpkbyBhIGJyYW5kIG5ldyBpbnNlcnQuIFRoZSBpZCBm
b3IgdGhpcyBzaG91bGQgYmUgMi4gQnV0IGl0IGlzIGFjdHVhbGx5IDEwMDEu
ClRoaXMgaHVnZSBkaWZmZXJlbmNlIGluIGlkIGluIGp1c3QgdHdvIHJvd3Mg
c2VlbXMgb3V0IG9mIHBsYWNlLg0KDQpUZXN0ZWQgaW4gUG9zdGdyZXNxbCA5
LjUuNCBvbiBXaW5kb3dzIDEwLgoK

pgsql-bugs by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Postgresql Performance Issue
Next
From: Tom Lane
Date:
Subject: Re: BUG #14291: Sequence ID gets modified even for "on conflict" update