Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aq5fb-000634-Hu for pgsql-admin@arkaria.postgresql.org; Tue, 12 Apr 2016 21:16:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aq5fb-0001Ak-4p for pgsql-admin@arkaria.postgresql.org; Tue, 12 Apr 2016 21:16:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aq5fa-00018i-B9 for pgsql-admin@postgresql.org; Tue, 12 Apr 2016 21:16:22 +0000 Received: from blu004-omc1s21.hotmail.com ([65.55.116.32]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aq5fX-0000hF-Ee for pgsql-admin@postgresql.org; Tue, 12 Apr 2016 21:16:21 +0000 Received: from BLU436-SMTP245 ([65.55.116.9]) by BLU004-OMC1S21.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 12 Apr 2016 14:16:18 -0700 X-TMN: [wDFzMQO3YjVjF2QHH1aC/t6/qHLOl4Do] X-Originating-Email: [koff10@hotmail.com] Message-ID: Subject: Re: upsert example about postgres9.5 To: pgsql-admin@postgresql.org References: From: koff10 Date: Tue, 12 Apr 2016 23:16:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Apr 2016 21:16:16.0188 (UTC) FILETIME=[8C99BFC0:01D19500] X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi all, It's known that postgres 9.5 has introduce upsert instruction. Is somebody can show me how to use this instruction ? Do the UPSERT commande exists in SQL ? Thanks koff -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin