Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTn6L-00053F-TB for pgsql-admin@arkaria.postgresql.org; Fri, 15 Jun 2018 11:41:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fTn6K-0003dm-Ne for pgsql-admin@arkaria.postgresql.org; Fri, 15 Jun 2018 11:41:08 +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.89) (envelope-from ) id 1fTn6K-0003dc-Fe for pgsql-admin@lists.postgresql.org; Fri, 15 Jun 2018 11:41:08 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTn6G-0004Xz-5E for pgsql-admin@lists.postgresql.org; Fri, 15 Jun 2018 11:41:07 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 71AC8C0992; Fri, 15 Jun 2018 11:41:01 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sx_0XUZHiRg2; Fri, 15 Jun 2018 11:41:01 +0000 (UTC) Received: from [192.168.2.16] (unknown [8.39.228.117]) (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 A3409C08A8; Fri, 15 Jun 2018 11:40:59 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: schema update? From: Scott Ribe In-Reply-To: Date: Fri, 15 Jun 2018 05:40:57 -0600 Cc: "pgsql-admin@lists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6D883DDD-933E-45A7-B3F4-95CFD7EA8C13@elevated-dev.com> References: To: czezz X-Mailer: Apple Mail (2.3445.8.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Nothing built in. So, assuming streaming replication doesn't work for = you because these systems have different data, you have two choices: - track schema changes as any other source so you have the change DDL = available - use a 3rd-party tool -- Scott Ribe scott_ribe@elevated-dev.com https://www.linkedin.com/in/scottribe/ > On Jun 15, 2018, at 4:06 AM, czezz wrote: >=20 > However, is there a way to apply only differences of schema on = Machine2 ? > In other words to update schema with changes from Machine1? >=20