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.96) (envelope-from ) id 1vzy04-001UHv-0I for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 14:23:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzy02-003nRE-0u for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 14:23:54 +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.96) (envelope-from ) id 1vzy01-003nR5-2V for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2026 14:23:54 +0000 Received: from mail-dl1-x1232.google.com ([2607:f8b0:4864:20::1232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzxzz-00000001Sc1-3zgS for pgsql-hackers@postgresql.org; Tue, 10 Mar 2026 14:23:53 +0000 Received: by mail-dl1-x1232.google.com with SMTP id a92af1059eb24-1271195d2a7so701918c88.0 for ; Tue, 10 Mar 2026 07:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1773152631; x=1773757431; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=KddDkUsmOlwoatPOsNqeX4F0OFXeUhZohJvcnom+W8I=; b=L20Zj32h/1IUtUFd+aJF4ln1FgAfxXH2sAaJBDb+Aj16vIIkZtcNwnttCYK3B4pJrp Gc97OhQYEZNDGC8VsWd8gKeJ9UBuZTtvIY7JndpzvptjG+ShAb6PsUIQDmp6z4XKGz/2 gNZfRHb+gAfBcWkLxaN9juVCUyfoZ5lgBE6KxBdMr2YlHgbvSwy5u7MKux+CP33H2uvc uWShkwJJbin23DKyiBEgzBbhTWe0hYkwY9uUa/r0ga3JoY/76jfXxMinvSMTzflPWrdl BW/STbBZ/xR83sDZw88OpQP+sZ4n59/SvVHUIIG9xXRXy1j7/teiUvAVJ4mk75Wio39j Bznw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773152631; x=1773757431; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KddDkUsmOlwoatPOsNqeX4F0OFXeUhZohJvcnom+W8I=; b=AxUAlmYlrbSTfQOn45YZRCelR7dlvnQHS4+5vK99QuzzV7eqi3ai+lWG9qu/NsEGuX Fx0Wh6+tEQftrEebKZMwsbZz7byVw4xKVq2I69X8peb0ns30QbcxrM5QjSMN2PH+1t2W kRFgyRYMkQm0NY8wZ7gaeJTUjHXfnPN86Weh2aQEa5zWfBGHyUQQymErc3WzjWtSpYo/ /LV2lS3afIjhK+ELJS0uHDY17wxXZnBRWSSVcz3DHfT7jKAqtMPPR6FQ74Ti3vu+Pz9x LBMew66OuQG2IPk8R9zXnUNneVYnpJN5acFzglOIGJEbziGFKVKetb8iF60dLh39VDV8 vF3A== X-Forwarded-Encrypted: i=1; AJvYcCUHl+mgZ0RiXai7/mGfdtF5VMHqW2I08VsgclYhEfIfQC8bgY42rIJyzAy4IAn4GldcqReRnZT97D4Qqw1N@postgresql.org X-Gm-Message-State: AOJu0Yxn2lZ7MOS/FmhCsQIXF0tueQRtpu/B3pRaU9xDD7hH2zZ2yhFC daK83TVXLEUwhEAuJsfyDamf46pxI5rpfBgUogdiHQDfEgddmIJUJ/p0JmSNS2AQXg== X-Gm-Gg: ATEYQzyrZtXiKSEE6IvbONP7BfPVg9rSnKqt4rX2AmjfRo+KyO2rbEuELm4hsiQPH8H QfX2BnchDKfeeUitdvxVNR+p0mgEf8ruUWYdK1LPoVSDviunjEhRogN6hjK87DracIOLcZJbYj4 cT2WsvvFf7AEkgx6vJZgwcefjkjXjS0SR9pEn/W1xHxvCBpjBNP8clS4bfMWIkn/GRJZAz0dKDw yVi5B+/45S2nfCXqM/syyqpsalGGijht5+wD9vvoiB2QMd3uI+H23riNNuKePqzuNDRDGEJHPYb S3rNwaxLs/ootKkTNeVXy2XIc7CKD3YXl89qpA15V3Oz6KgHvNmxETpwZPGLEVx+M/kBlQuPO+4 /c802pwdQ8qWFte93gL+GFkSIDtcjOE1JGNRoqTNUmAs2mIdwpVpVN+DUNM1L0AC/d2oZptMgAz pfs5ex1bAUQxbls+KXo0S0rpW5IdABwAtV0YmhZ7FDMKSye64IC18NG3n8XlcFUjpiwLFr X-Received: by 2002:a05:7022:49c:b0:127:9d23:ad43 with SMTP id a92af1059eb24-128c2d8e8demr7439744c88.1.1773152630850; Tue, 10 Mar 2026 07:23:50 -0700 (PDT) Received: from ?IPv6:2607:fb90:3791:8d66:cbb8:87e0:fffe:fc55? ([2607:fb90:3791:8d66:cbb8:87e0:fffe:fc55]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-128dc848cbcsm5486615c88.7.2026.03.10.07.23.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 07:23:50 -0700 (PDT) Message-ID: <9b4795c19425f67fab975e5487f5b43567ca40a3.camel@j-davis.com> Subject: Re: [19] CREATE SUBSCRIPTION ... SERVER From: Jeff Davis To: Amit Kapila Cc: Masahiko Sawada , Shlok Kyal , Ashutosh Bapat , Bharath Rupireddy , Joe Conway , pgsql-hackers@postgresql.org Date: Tue, 10 Mar 2026 07:23:46 -0700 In-Reply-To: References: <149ff9264db27cdf724b65709fbbaee4bf316835.camel@j-davis.com> <830a2bc6cbbb2e6e01c6c0d9f31f320822e10603.camel@j-davis.com> <433d0845248e86c0317d9d396926182cfe157340.camel@j-davis.com> <05ae37abb207cd6bf6b126780024692d91402b0b.camel@j-davis.com> <93392ffa941ab0d436e19e0ab5d04d0e42c02d3f.camel@j-davis.com> <26be917cb07b6aa3ef5dd15f6b59d1b375ece6e8.camel@j-davis.com> <55201bd916e748acfc754c8f95880dae8e4e5ed0.camel@j-davis.com> <2a89b14a2b1622bffb8b137ca1f9ab7866f2d2b9.camel@j-davis.com> <61831790a0a937038f78ce09f8dd4cef7de7456a.camel@j-davis.com> <0910b47040406c1d24ec0150dafb5bae6b910ed7.camel@j-davis.com> <7338f22c4534322a08ab6ce9f879e2e308eb5e5d.camel@j-davis.com> <34fd5885b8245d1014f4426ea22af61229d42e3e.camel@j-davis.com> <7a5df376fffb273430aec9e89f88c31d52dcf295.camel@j-davis.com> <5dfe845221db2e7d38fc7c2a18a4ba5ea29cdfc0.camel@j-davis.com> <60ff024706fe1beab62a89ac07eb6a721856de2e.camel@j-davis.com> <80303af653a3da2a94e32ff91d6538675e921bf0.camel@j-davis.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1.1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-03-09 at 11:53 +0530, Amit Kapila wrote: > > +# Replicate the changes without columns > > +$node_publisher->safe_psql('postgres', "CREATE TABLE > > tab_no_col()"); > > +$node_publisher->safe_psql('postgres', > > + "INSERT INTO tab_no_col default VALUES"); > >=20 > > I don't see a subscriber-side table or verification code to verify > > the > > above test. > >=20 >=20 > I see that the committed version (8185bb5347) has this part of the > test, isn't that test incomplete, if not, tell me what am I missing? In 8185bb5347, contrib/postgres_fdw/t/010_subscription.pl has: ... # Setup structure on subscriber $node_subscriber->safe_psql('postgres', "CREATE EXTENSION postgres_fdw"); $node_subscriber->safe_psql('postgres', "CREATE TABLE tab_ins (a int, b int)"); ... $result =3D $node_subscriber->safe_psql('postgres', "SELECT count(*) FROM (SELECT f.b =3D l.b as match FROM tab_ins l, f_tab_ins f WHERE l.a =3D f.a) WHERE match"); is($result, qq(1050), 'check that inserted data was copied to subscriber'); ... which creates the subscriber-side table and verifies the result. If I change 1050 -> 1051, then the test fails, so I think it's functioning.=20 Perhaps I don't understand the question? > It seems I have sent this message after you have committed the last > version. Yes, thank you, I will address those shortly. Regards, Jeff Davis