Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1ntv-0001kv-45 for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 07:57:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1ntt-000287-FP for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 07:57:09 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1ntt-000280-4P for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 07:57:09 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1ntq-0006np-UR for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 07:57:08 +0000 Received: by mail-ot1-x334.google.com with SMTP id m1so13303875otf.5 for ; Wed, 06 Mar 2019 23:57:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=kkqj2YFw/zCeFX05RKt6H1IZWyLLL+f1Y+EAaEoV+wg=; b=uGUgHQejh3MJt/F/DIkFrBpQ0nuCEc5LMndkn0vqWLbQ69hvwjGhTce+lUZYBba6Of IbTw+a08Kch3YBL6sNMJ9ey0hjYhdWBV63oO20HQSsejQldEXCVLcYbZRnuAAqwgeHXj pSRH/68Gm05oIu2oGuFf8nx8jG0F1Sys3nCC+4nAWRxrjwU6QHVX7YF8qjH/cLIYAX61 CMfsNKCynB1FO7D4JMEDVp/Lwk9ChL4Dj+QyW3mfVcDvE9dVCF0G+fTi4JKzSP3jSwkX mMH3MPdJ8uH03VjH8cbayQdcLWm8PdN73H/+GhVdj6zIX7AY+kK8FQldmsEcBNu8MjSU +eLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=kkqj2YFw/zCeFX05RKt6H1IZWyLLL+f1Y+EAaEoV+wg=; b=MlpIqdPlfF5pcZFgw3b8alsL6/OwyykyNy1o9n7FHWzzpFRlV+pOw9zTibpNfE7O60 1bOTszneufS7Mwn0f0nRZoYSbjW0ZEYrBMS+AprO3/qanj7ToPrMX40wlxPGCHrNvYfe tlJt5IePe6XXyi04dra9+u592lnIEgNr82AXg431OPaYIThTb25y5yog035nMBoOt9ua wjnrMtgJzIT3zf9U85gm26tDpnkEErnwiLQEETkgXhAhaIfv93cxEn2H1/qmZPF1YME7 w5JCbHJ+st0WukLFIekpH2q8v2GeD/5VbNiaFmbw4U5lugcCrsBNga35qvgE91WyRgc/ ag8Q== X-Gm-Message-State: APjAAAUAojTOu2Zvoa7cSpb/g4BEL+B/2/Mcgx/8mFQyhiUiO3IcKuGt FI/IgM3zqn7PlnySsuKc0J8BZ7eE X-Google-Smtp-Source: APXvYqxTUFvmAg0Q/STUC6Degkyglzod9dRNlk5g5x52iXWmWnuul8JiSRL5PIskJML38zMyOTunDg== X-Received: by 2002:a9d:6412:: with SMTP id h18mr6810463otl.51.1551945424770; Wed, 06 Mar 2019 23:57:04 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id l134sm1568167oih.43.2019.03.06.23.57.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 23:57:04 -0800 (PST) Subject: Re: partial data migration To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <3d0f1ba5-5f70-ad05-73bf-072aa7d0d6df@gmail.com> Date: Thu, 7 Mar 2019 01:57:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------ADF6B8B935D8F35029BC512B" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------ADF6B8B935D8F35029BC512B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 3/7/19 1:54 AM, Julie Nishimura wrote: > Hello psql friends, > We need to migrate only 6 months worth of data from one instance to > another. What would be the easiest way to do it? In Oracle, I would set up > dblink. What about postgresql? postgres_fdw -- Angular momentum makes the world go 'round. --------------ADF6B8B935D8F35029BC512B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On 3/7/19 1:54 AM, Julie Nishimura wrote:
Hello psql friends,
We need to migrate only 6 months worth of data from one instance to another. What would be the easiest way to do it? In Oracle, I would set up dblink. What about postgresql?

postgres_fdw

--
Angular momentum makes the world go 'round.
--------------ADF6B8B935D8F35029BC512B--