[BUGS] ON CONFLICT issie detected - Mailing list pgsql-bugs

From Irina Mileva
Subject [BUGS] ON CONFLICT issie detected
Date
Msg-id B72BB4B6A2F58F4FABBE549335169E5C106B8A14@exch01-mbx02.taxback.ess.ie
Whole thread Raw
Responses Re: [BUGS] ON CONFLICT issie detected
List pgsql-bugs

 

 

From: Daniel Topalov
Sent: 21 April 2017 14:25
To: Irina Mileva
Subject: ON CONFLICT issue detected

 

“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”

 

“ALTER FOREIGN TABLE tableName

    ADD CONSTRAINT ConstName UNIQUE (columnName);”

Returns:

“ERROR: unique constraints are not supported on foreign tables”

pgsql-bugs by date:

Previous
From: Greg Clough
Date:
Subject: [BUGS] Incorrect type in pg_cast causes Postmaster to core dump
Next
From: Michael Paquier
Date:
Subject: Re: [BUGS] Incorrect type in pg_cast causes Postmaster to core dump