Re: [BUGS] BUG #14526: no unique or exclusion constraint matchingthe ON CONFLICT

Поиск
Список
Период
Сортировка
От David Gould
Тема Re: [BUGS] BUG #14526: no unique or exclusion constraint matchingthe ON CONFLICT
Дата
Msg-id 20170208153328.1d28f349@engels
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14526: no unique or exclusion constraint matching the ON CONFLICT  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] BUG #14526: no unique or exclusion constraint matching the ON CONFLICT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Wed, 08 Feb 2017 12:31:58 -0500
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Tiago Babo <tiago.babo@gmail.com> writes:
> > This is not how my application is doing the insert (like I showed you before), but it was the only way I could
continuouslyget the error. I'm using a Scala library called ScalikeJDBC to access the database. So maybe the problem is
onhow it handles the execution. 
 
> 
> You should turn on log_statements and look to see what's actually being
> sent to the server.

Last time I looked, the JDBC driver always uses prepared statements.

-dg

-- 
David Gould              510 282 0869         daveg@sonic.net
If simplicity worked, the world would be overrun with insects.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

В списке pgsql-bugs по дате отправления:

Предыдущее
От: cinbau@warpmail.net
Дата:
Сообщение: [BUGS] BUG #14536: Centos 7 gdal-libs Dependency Problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14526: no unique or exclusion constraint matching the ON CONFLICT