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 1w66OC-003xEm-0G for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2026 12:34:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w66O9-009cJp-2b for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2026 12:34:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w66O9-009cJh-1b for pgsql-hackers@lists.postgresql.org; Fri, 27 Mar 2026 12:34:09 +0000 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w66O7-00000001TaO-0Lzz for pgsql-hackers@lists.postgresql.org; Fri, 27 Mar 2026 12:34:09 +0000 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-38a3066b68bso8599421fa.3 for ; Fri, 27 Mar 2026 05:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774614847; cv=none; d=google.com; s=arc-20240605; b=O4J+ns23SvFCNmTYCR2mz3EGeBPESWzJXAoUt/pGoCItetEAEmFd3lC4m0rxBk3Rzi 9NMOjlbxQudQW09jRWsvOYogmzuIb5ypbTzNALYvi+0h4OhlR2tcbPeBt7eSprt7E/nA cx86sCZiSq2Tn1WGOYw6u4s+5nLXOCeVMwVvbrj/4DSAaTJKUl89r026oQtEzXFKSx9Q oD77tIYYiXLsNshzDyZR152CtBQp6KzMm/7K7i+WHPXaO8SEOTy6e2FDDyJ+rUjKJGgK EYou6YCvkHDeyQZUTaF3GE9n4aqYWivlXQs6KWZIE2Z+DGhyuPVuJ19Lc+jbxxaf+A/1 PExg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=th3FX5Cw2NKs6AoRroNoTju89jL+/my/N4DNhfWtDm0=; fh=bSEHpPn2GFgMcZzNooFlLx3aZ71+1d4dTYIuNqzDNN4=; b=dR4AJWyyf3FizEn7qRgoZoEq96r/30fQAsHXX/HTsCmQhUPaGdJEgPV5aru6uotaDa fQWq+3MoQkVpJ32LKy6Oq47ZPgnhtFoTtojXSdwH6NdzpxRrh3A1cIcuJwq/GeOQkM/R MoyNPpc3nz4suYUmERyu6AnXYDwZtETA6T5gat++ZenM34ffhFGjrQosjPcAZq5HwLxP sWTpLyBz3XSv24cH/4FfKrNIUUlDH1tqj39+jUS5T38dMRnX+HGeYY258LmdcUoprZwF dLraabt+OgZA5HCW6mIWuW6eTJvo8Z1x4Jn+MNWEfR8A2R0Bh7zTJl57qLE1bJc4aXm/ c7FA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774614847; x=1775219647; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=th3FX5Cw2NKs6AoRroNoTju89jL+/my/N4DNhfWtDm0=; b=J99fUf1OxVeFnRMXE+ccs88cpZgopAJ2NHVz7+feIjbAs0YDuQ4xGgtpQ4USevLCLj m2g0BQAMDPG3koOG1EBK/xgY08qAbi46FpKhK+/cfU6IDkRWAe+MBHcXghV91fx5TC5T CnWMXdT9Q8z84CYQ+egHHvFn/C2UYi0AW3vASVUNdByAZc/FiiykpLXs1Ni74Bp7oX8S u6BpjB34GvDD7r7bS8KAndtZwuGa8XiGO0ZL2GUhiZG5X99afEyUNWdoEvB1IVdNCHr7 1VbvmnwQ+fqBItlaDZht9AWmGNTv110t0Z0DtnKjN3ZxrIDi25HpAKi83b5c6UBmQoqx 6p0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774614847; x=1775219647; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=th3FX5Cw2NKs6AoRroNoTju89jL+/my/N4DNhfWtDm0=; b=QM7zwje58g+sh5wmhdR6NoOoNRX+nSbXsL5PxcnWpM2b65kidUC4n1I4hvKAckspQZ 9FRl9w9bMhovBXK1/3sE9fFZUBLL+N3XHnRSNm83k2Pf9CDbU1EauyYQD5Vxdo1jA6iE RQxwtjyTg3Ru0nMN2vCjez3+FuzN5zNwM2nV0PIz91EpvDs1Nh/IKp9BE0DRVw2ygyb5 /wnXXQazoVHMcL9NwPMu4VZ+zmDbe84qYycMConiDLwbKUFTsVrO2Py58mNcsvRFdsBr VXtrWDxX0zsxxVP2a14LpI0Hiv+PRoc6SKk6stBCWRhg1H1Cy83/MoSOQ5DzTZZt+qwq Wn9g== X-Forwarded-Encrypted: i=1; AJvYcCXGt7mDJ3ib+/iEew8Bbnhb8g6J5sYG6Mp00zPPl7juYrYnIRA9KzxCeqJhMYoSzJuj30YFXUMxfc5qgQ5U@lists.postgresql.org X-Gm-Message-State: AOJu0YwaqgRKZ31BMzfPjYhZFbXXN4Zk49KF9hRl1x9wlferaUWS7Jzn lQ6Rl3eBnKU9I4HOamLJjhHTnidwYESkpGmpuBafTqe4MB1vyAq8j9RLdxJhliEZYZ5Zrt5lhoj HR1jh99bFoUEC9qVddSb4QvBWMSFE22s= X-Gm-Gg: ATEYQzw1DYz39G5gyANV6Cstmwgn2dHsWnzgN2W+nEc+J1R7u7HSfPh1dCDETV5i0N4 KZVcjENAtZ14jKaJi9XyPAH6aZJS9bK6e8vxEioFAfhHnA3AKDqpWQnLT5Q4d8/xLgmdTt66GAC Y/E25bl65tu1P7HCO861ocKAz8LATwp2T/x+pGL3jb7sWliz5OGYwErqC4WAoBhHor9FHeBfuYB kgOZtSzJi2cdC8Bnd2evd09ABZO3v+BTi2Xeoinpeof6xSUnbqK2NwmYcSUOhyl5Wx/FTqKv0UZ fKeiiTkdMeFNouo8Tok4TlKAqUV04nECFXW1zsNxPQ== X-Received: by 2002:a05:651c:4107:b0:38a:8b97:7ec1 with SMTP id 38308e7fff4ca-38c7405ab98mr5352021fa.23.1774614846562; Fri, 27 Mar 2026 05:34:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Fri, 27 Mar 2026 18:03:53 +0530 X-Gm-Features: AQROBzAd5Ym1yrOLw82dwJKoQV3WejEb2zmWYFTo7j0geXDKLWQ4ydOh357tvys Message-ID: Subject: Re: Skipping schema changes in publication To: Shlok Kyal Cc: Peter Smith , vignesh C , Dilip Kumar , shveta malik , Masahiko Sawada , "Hayato Kuroda (Fujitsu)" , Nisha Moond , Ashutosh Sharma , "David G. Johnston" , "Zhijie Hou (Fujitsu)" , YeXiu <1518981153@qq.com>, Ian Lawrence Barwick , Bharath Rupireddy , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Mar 27, 2026 at 1:20=E2=80=AFPM Shlok Kyal wrote: > > I have addressed the comments. Attached the updated patch. > I got following crash: postgres=3D# create publication pub1 for all tables except (t1, t2); server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. Server Log: ERROR: syntax error at or near "table" at character 47 [client backend] STATEMENT: create publication pub1 for all tables except table (t1, t2); TRAP: failed Assert("pubobj->pubobjtype =3D=3D PUBLICATIONOBJ_EXCEPT_TABLE"), File: "../src/backend/parser/gram.y", Line: 20795, PID: 7512 abort() has been called[postmaster] LOG: client backend (PID 7512) was terminated by exception 0xC0000409 [postmaster] DETAIL: Failed process was running: create publication pub1 for all tables except (t1, t2); [postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. BTW, why do we need preprocess_except_pubobj_list? --=20 With Regards, Amit Kapila.