Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qOM3Z-007acD-9P for pgsql-admin@arkaria.postgresql.org; Tue, 25 Jul 2023 17:42:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qOM3W-00HXdf-LQ for pgsql-admin@arkaria.postgresql.org; Tue, 25 Jul 2023 17:42:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qOM3W-00HXd3-99 for pgsql-admin@lists.postgresql.org; Tue, 25 Jul 2023 17:42:42 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qOM3Q-001X9I-Pz for pgsql-admin@lists.postgresql.org; Tue, 25 Jul 2023 17:42:41 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2F330E1BD1; Tue, 25 Jul 2023 17:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1690306954; bh=HnS6fUAIhr+g11Eziv1wp/9sGzru3gDt0Nq9rBkQrBY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=26scRveydN9MSVihnmBOH/rkkjsUxal6diM4Mrb9tj6oeDK15xthQU0eKvflBAGq3 h3ZsTfQGpzPYNJsfE5BpQiyyyLXwr99w20AUXyJk3h+jG64sk5kBuLZu+6rUvfQfeF 7sbH7bM4ElZU+tRj8zaMyKCVIHJDEur7+cdhKOuvZl3WasyPL2G5qFZEgGYuK9AymS WQRNGgEi4/GIT8IxjII9/47++zgDur2sk6R2wn4XFaNMLrwLDagCzZ1ieTnQ3RZNK3 nA0BUk8GwC/Ls6CVOWcmYd6kVKGgH0KEwCNPa8SMtAEP+BuqwseJbFPabroHzJ29Nz OCCTIGP6zPHSA== X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hkLk1ZVDduBY; Tue, 25 Jul 2023 17:42:33 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 9C5CCE043F; Tue, 25 Jul 2023 17:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1690306953; bh=HnS6fUAIhr+g11Eziv1wp/9sGzru3gDt0Nq9rBkQrBY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=vn7pkXaHOKGRcfMtiFNXIQfvHXkiR9q3XjpVdnTz5gLexS/xVXIKqYNyT6hqJLrco kCUpJX1H8JlK7SMKbg7++z7kJMEre8z9wjWx594i5zbathygke7NZoirHRv401LgKi yIy4gxN0aFO3PHqrb54OKmcDwdvsN4QWONoFqERbz8aRdnS3cpm337b6CVKX0Ci6/X pqlRdyCmjJHivDmcv1u82JjsmaVbHkEIREDBvXfSNORuO5iSOTaiS7aIwsyCWksTFp kEeFfBNEGHBMy5yA8I32mWBSj/uzgZgxqYNmfjujNSzS3RIV78vZ8q/pg5JeLrSoua FOKR1+y1lOp2g== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Is a PS - MSSQL Logical Replication Possible?? From: Scott Ribe In-Reply-To: Date: Tue, 25 Jul 2023 11:42:22 -0600 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Erik Serrano X-Mailer: Apple Mail (2.3731.700.6) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jul 25, 2023, at 11:29 AM, Erik Serrano = wrote: >=20 > What you indicate is interesting, I am going to find out about the = debezium and attunity programs. > Thank you very much for answering I don't know how those two are implemented--but for background on what = is possible, you might want to read up on PostgreSQL logical replication = slots. Essentially, one can write a plug-in which has access to a = serialized stream of all updates being applied. There are examples which = exist. So one could write such a thing that pushes to MSSQL, or one = could use such a thing which publishes change stream as JSON, and = develop something to push this to MSSQL. Not suggesting that *you* have = to this--just that it's likely tools are based on this, and it would be = good for your understanding.=