Search Postgresql Archives
Re: ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Subject
: Re: ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
From
: Alexander Farber <alexander.farber@xxxxxxxxx>
Date
: Sat, 5 May 2018 18:08:51 +0200
In-reply-to
: <CAADeyWgSLC-crOa+cFg_EOfVtrmjTXSFFWfEdKuOnKRBUg=qEg@mail.gmail.com>
References
: <CAADeyWgSLC-crOa+cFg_EOfVtrmjTXSFFWfEdKuOnKRBUg=qEg@mail.gmail.com>
Even the simpler INSERT statement
INSERT INTO stats(uid, single_q_left)
SELECT player1, COUNT(*)
FROM games
WHERE hand1 = '{Q}'
GROUP BY player1
ON CONFLICT(uid) DO NOTHING;
produces the same error.
On Sat, May 5, 2018 at 4:49 PM, Alexander Farber
<
alexander.farber@xxxxxxxxx
>
wrote:
http://sqlfiddle.com/#!17/
7e929/13
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
References
:
ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
From:
Alexander Farber
Prev by Date:
Re: statement_timeout issue
Next by Date:
Re: comparison between 2 execution plans
Previous by thread:
ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
Next by thread:
Re: ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]