Possible bug report

Started by Milos Musickialmost 5 years ago2 messagesbugs
Jump to latest
#1Milos Musicki
mmusicki@yahoo.com

Hello, Miles Musicki here from Michigan, US.I think I found a bug in PG 13.4, or at least I can't find a reason why it would behave this way.
My question, as well as explanation what I did to avoid the behavior, is displayed here.
https://stackoverflow.com/questions/70614464/postgresql-insert-into-on-conflict-column-name-is-ambiguous

It has to do with INSERT INTO statement when using ON CONFLICT.
All the best.
Milos Musicki
mmusicki@yahoo.com

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Milos Musicki (#1)
Re: Possible bug report

On Thursday, January 6, 2022, Milos Musicki <mmusicki@yahoo.com> wrote:

Hello, Miles Musicki here from Michigan, US.
I think I found a bug in PG 13.4, or at least I can't find a reason why it
would behave this way.

My question, as well as explanation what I did to avoid the behavior, is
displayed here.

https://stackoverflow.com/questions/70614464/postgresql-
insert-into-on-conflict-column-name-is-ambiguous

It has to do with INSERT INTO statement when using ON CONFLICT.

Thank you for the report - though we prefer that bug reports be
self-contained when sent to us.

This unexpected interaction between pl/pgsql and the on conflict clause is
known to us (recent thread links below). There are presently no plans in
place to make a behavioral change to this code; users are advised to use
one of a number of possible work-arounds to avoid the reported ambiguity
error.

/messages/by-id/2A512572-5AE4-4072-9C04-C746C9E67F56@gmail.com
/messages/by-id/61A7CB18.20091.3401B246@Jenda.Krynicky.cz

David J.