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 1riiTU-001Dq8-Mf for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 22:13:57 +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 1riiTT-00Gaiq-1h for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 22:13:55 +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 1riiTS-00Gaii-NS for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 22:13:55 +0000 Received: from fout5-smtp.messagingengine.com ([103.168.172.148]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riiTP-003XwM-AT for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 22:13:53 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 86C5513800A6; Fri, 8 Mar 2024 17:13:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 08 Mar 2024 17:13:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709936031; x=1710022431; bh=5+jZ1E+hHbmf2Q5m421Jcd8vw9/fqVWBD0YrEgNI6vE=; b= LTjMQIQtVzT0E0p5M9EmUv4TnJEZBltpZsuhyhOQYgPsiKoeypgZKn+r4JJsO5hJ gLJyrxqqi9K5uAdW04LH1eBbQ1DQ7LOzCzPy6Qk6/Bd9Mwou6GKVAQkV9G8JdPJq uktonIt0EKy0fB3hLPqPrFm/tETY2Rha+Ap9kN/3XSSleM8pWIqT5yeblPlyePRe NyMnY/zas1Q0tOVtJuySguTJvJczmBV59YrVUPzb77FIRNt1GH3j/i2msrRhKGuV TLm4yLMu7xFRbon5Nm06Xj+oG03nWq//jibFJzHw2YcIj6sx6Dy8RUXZWarLrO+j 6YLXbpvUR2BDifwhGUhOtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709936031; x= 1710022431; bh=5+jZ1E+hHbmf2Q5m421Jcd8vw9/fqVWBD0YrEgNI6vE=; b=N 9nd+uPyxpOlOiK4oadNsvDNjX8Zg2Q3zPrMLqirPOmg2X9EPcGxT0EXFFI9G6khO t2MkktvccevO3Z+oPePdf3KKTOj7L6yzg7q2TK9MSgq1yPXvdOlmL1uZ5lIcXXjG vUJsmod2KDuQdOAG33cKM+Iy49VFtTZ+hIrhb33KOmQ5O66UkuS2wzk4R2XUDnzR rbiTiHHss0KoWomzaChC9Ddwulb3iqAhL9tVnR3CXBQIlHm9WRb3YvRxUt27nhdp xDBGWzqCAu3AiK+lHdd0uqhkmQ4rzYuop002PfzJpCUb4OwtRHC3tmOUFTrUsJoW wH5afdm50z0fmbuGNpIZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieehgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepfeegfeeiuedtgffgteeggfehkeejheetieeliefg teeikeejvdeiveeigfehvedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Mar 2024 17:13:50 -0500 (EST) Message-ID: Date: Fri, 8 Mar 2024 14:13:50 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Help diagnosing replication (copy) error Content-Language: en-US To: Steve Baldwin Cc: "pgsql-generallists.postgresql.org" References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/8/24 14:04, Steve Baldwin wrote: > > > On Sat, Mar 9, 2024 at 8:56 AM Adrian Klaver > wrote: > > > What are the rest of the values in pg_replication_slots? > > b2bcreditonline=> select * from pg_replication_slots; >                   slot_name                  |  plugin  | slot_type | > datoid |    database     | temporary | active | active_pid | xmin | > catalog_xmin |  restart_lsn  | confirmed_flush_lsn | wal_status | > safe_wal_size | two_phase > ---------------------------------------------+----------+-----------+--------+-----------------+-----------+--------+------------+------+--------------+---------------+---------------------+------------+---------------+----------- >  b2bcreditonline_prod_e_master               | pgoutput | logical   | >  16404 | b2bcreditonline | f         | t      |      13700 |      | >  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA478       | reserved   | >       | f >  b2bcreditonline_prod_sandbox_d_master       | pgoutput | logical   | >  16404 | b2bcreditonline | f         | t      |       9232 |      | >  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   | >       | f >  b2bcreditonline_prod_e_master_only          | pgoutput | logical   | >  16404 | b2bcreditonline | f         | t      |      13710 |      | >  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   | >       | f >  pg_378075177_sync_60067_7343845372910323059 | pgoutput | logical   | >  16404 | b2bcreditonline | f         | f      |            |      | >  455719618 | 2E2A/1C0972E0 | 2E2A/1C097318       | extended   | >       | f >  b2bcreditonline_prod_e_shard                | pgoutput | logical   | >  16404 | b2bcreditonline | f         | t      |      13718 |      | >  456150233 | 2E2F/AC07B760 | 2E2F/AEEEA560       | reserved   | >       | f > (5 rows) > > Is there data in the subscriber side table? > > No there is not, although when I did a 'select count(*) from {table}' it > took several minutes to return 0 rows. > > What are the publisher and subscriber configurations? > > Not sure which settings, but here's a few. I should been clearer. What are the CREATE PUBLICATION and CREATE SUBSCRIPTION statements? -- Adrian Klaver adrian.klaver@aklaver.com