Re: [BUGS] ON CONFLICT issie detected

Поиск
Список
Период
Сортировка
От Irina Mileva
Тема Re: [BUGS] ON CONFLICT issie detected
Дата
Msg-id B72BB4B6A2F58F4FABBE549335169E5C106C03A5@exch01-mbx02.taxback.ess.ie
обсуждение исходный текст
Ответ на Re: [BUGS] ON CONFLICT issie detected  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
Many thanks!

Sent with AquaMail for Android
http://www.aqua-mail.com


On 21 април 2017 г. 19:15:58 Peter Geoghegan <pg@bowt.ie> wrote:

> On Fri, Apr 21, 2017 at 4:40 AM, Irina Mileva <imileva@transfermate.com> wrote:
>> “ON CONFLICT (columnName) DO UPDATE” do NOT works with FOREIGN TABLES
>>
>> Returns:
>>
>> “ERROR: there is no unique or exclusion constraint matching the ON CONFLICT
>> specification”
>
> It's unsupported, because there is no such thing as a foreign unique
> constraint. Only ON CONFLICT DO NOTHING will work against a foreign
> table, and only when an arbiter constraint is not inferred.
>
> See the docs on INSERT.
>
>
> --
> Peter Geoghegan
>
> VMware vCenter Server
> https://www.vmware.com/


--
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 по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [BUGS] ON CONFLICT issie detected
Следующее
От: buschmann@nidsa.net
Дата:
Сообщение: [BUGS] BUG #14629: ALTER TABLE VALIDATE CONSTRAINTS does not obey NO INHERITclause