Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS9Zt-0005VR-RX for pgsql-general@arkaria.postgresql.org; Thu, 21 Dec 2017 22:44:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS9Zt-0005Hs-Bl for pgsql-general@arkaria.postgresql.org; Thu, 21 Dec 2017 22:44:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eS9Zt-0005Hi-4i for pgsql-general@lists.postgresql.org; Thu, 21 Dec 2017 22:44:37 +0000 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eS9Zo-0002gW-Rv for pgsql-general@postgresql.org; Thu, 21 Dec 2017 22:44:36 +0000 Received: by mail-wr0-x22b.google.com with SMTP id l19so14067660wrc.2 for ; Thu, 21 Dec 2017 14:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to:priority :user-agent; bh=oJHVp4CVjWQCVL835ftZA3eeh75QwAeXj/RwTXSklok=; b=eWameCfQ3Mi3AfJS/m0BMNDubHRsUgoGk4pEY+jHohybAQGtnmlEPUoZ6tHK7O4/H+ yyrb7ooD5h1wO2Lqu9wC0e8JzIhgoP70LR5QBXxDIaA/DeKqaVs+YAqMy9cjWu+CxLsN mYY72i+0ik3/dj/ixSF7oew6i+8+wyYMOZjVGyMtVFod53NX2/jS77v94bQJ/dm5zkwm 2SK0SHRFR+nfdLTgmm1nvsGBjlCssgqcuiibArJ7j5heAQb7l3w0aeDqKi6QR07siUNi aVrmEKh4DIVdzBUuzRuuWtkgCDlPOBVlvvIDtHGEbdZ9TrYV73/GDUq5wulgJhN0QIi6 MbtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:priority:user-agent; bh=oJHVp4CVjWQCVL835ftZA3eeh75QwAeXj/RwTXSklok=; b=eyIHjUUKADAcrhjga7A3XEGrtOhRRsZSo5T6FYfcLI1chJYBOm40TN8rwFLVKA3CYv 71ZdxT7mK3dvYmPDDcvc/5NCkD2GeHCh1GefUvVvXHEDuGXBW6s9DPBh6Ci3ec0hw9BJ yU1KIc5vpfwgNKmYO3ii0Kvd5KfVvBqHmsHP9BlqpAZPkYsGxU8tILrH5o5vqTB9poHe D8scbjQyQcoL4YP/8IHZf00MOcZ60m9GsBO08hrChEGRCStdtVZ7qwgyAW99k1pVLV0D oInj8KerX+B2AC99c90nbYSR/l295pLmqNwGTogERbOLDs+zhvrcHeqM7ZyUJiV15MIn gVzQ== X-Gm-Message-State: AKGB3mI+CNuzSrAh269x4p0o38SLtcZmCiEPhMIjNO6SV0GgaKCj4dDG 2ueM4eLLV90N5v84pz3oWCw= X-Google-Smtp-Source: ACJfBovJEAukcTnhzl/xB5fxxmo3aZKluHJJCmRcFrI++2v0JSjH3CgNVjujgGtRfIpBIJskBRGOVg== X-Received: by 10.223.186.197 with SMTP id w5mr12580246wrg.201.1513896271975; Thu, 21 Dec 2017 14:44:31 -0800 (PST) Received: from localhost (81-66-114-185.rev.numericable.fr. [81.66.114.185]) by smtp.gmail.com with ESMTPSA id c2sm16699127wrc.81.2017.12.21.14.44.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 14:44:31 -0800 (PST) Date: Thu, 21 Dec 2017 23:44:30 +0100 From: Nicolas Paris To: Virendra Shaktawat - Quipment India Cc: "pgsql-general@postgresql.org" Subject: Re: Foreign Data Wrapper Message-ID: <20171221224430.375up67muse4kka6@gmail.com> References: <28dabdd6fe994dbd94753ac803891113@Strand.quipment.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <28dabdd6fe994dbd94753ac803891113@Strand.quipment.local> Priority: normal User-Agent: NeoMutt/20170714-155-820ab5 (1.8.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Le 21 déc. 2017 à 13:24, Virendra Shaktawat - Quipment India écrivait : > Quipment Logo > > Hello , > > > > I have stuck at foreign data wrapper. I am accessing the form MS Sql Server. > Foreign table has been created with data. unfortunately I am unable to perform > DML operation like insert, update and delete on foreign table. Whenever I tried > to perform DML operation on foreign table we are getting error i.e. “ERROR: > cannot insert into foreign table "test12" > > SQL state: 0A000” > > > > Kindly give me response soon because I am stuck at the middle of the project. > > Hi, I would give a try to a specific MSSQL FDW such: https://www.openscg.com/bigsql/docs/tds_fdw/ and the github: https://github.com/tds-fdw/tds_fdw While insert is not yet available there apparently some work have already been done and could be improved https://github.com/tds-fdw/tds_fdw/issues/9