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 1u0i29-006Mce-CK for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Apr 2025 14:28:37 +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 1u0i28-000fHJ-3P for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Apr 2025 14:28:36 +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.94.2) (envelope-from ) id 1u0i27-000fHB-NV for pgsql-hackers@lists.postgresql.org; Fri, 04 Apr 2025 14:28:35 +0000 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u0i24-003Mox-35 for pgsql-hackers@lists.postgresql.org; Fri, 04 Apr 2025 14:28:35 +0000 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-6f768e9be1aso37129737b3.0 for ; Fri, 04 Apr 2025 07:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743776911; x=1744381711; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=CLKyJzf6niMN2R2EJSwRsBE8tO2wuRUPI2TDABopB5o=; b=lHIN7hB2r41iADDAxPrkKcYCECyw/pmbLYwLcMCAn42xm6Nh0WVQZQGLZMjPtvJbcp SQGUSfgdifFMh/dsDQ16EhkJyN5AG+rEJtDmw+SoGuh9W4R2610NnbSUCl3ENcQGzkvo pICo5U/nXn4UKSgM/4vImEC2UmrdFnA59yp+tukLXns8RfUTjYdf9hBTSii9WZaI4lkv Ol2SOYp8nDNH2lm5Ia2GXalWxLYHQ1Wn/RRB/vVaEmq9NE+XoSlvEazpyVw6rq3uMMn9 5gTmSlM4tgvdvxv6SYlmJRaUGVC1EXeKwKrwPXVicCSNX0fwbNRXZE/99K7jJs/1srEg jrAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743776911; x=1744381711; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CLKyJzf6niMN2R2EJSwRsBE8tO2wuRUPI2TDABopB5o=; b=Ws7zHl8zUEaqN8pPC5QNkagdi0wM66ZPWWVKdwCWWc8F9qiMbNGS5B+YC1SSriie4u N+GJ/KTzQDame+D7fqom7l8QIU5C2D7q7bjrO8Ygla6ZlmWRSYTaRFDzFOfFJt9rf6Zh beqv5uYGUbZqS5JZHYflSrmdmEQUHzF8o9Ij9RLNDJwthTI3TC938cBgdfU0S0pmFkGR Z7iN7sMSF6GBoU5y+NWG9N2ejGLmBEJwR+XYKodEV+kqO4Lozt7ERU7/h7XY6EJv+gzz 6Vwft1qOdUTz4NV0zonMAOALFUhT9/IWZv+BN0HUwUs4x/f2KPqoedmUYb9lVAvk8oK1 ChQw== X-Forwarded-Encrypted: i=1; AJvYcCUX2TL+GbsLC+aw1ZRNN/qnDkwf5Fs0vDqrypPmzSzgvFmlMkpqkpOjUwy9l1OaDp7zM9Y4bM3rdEEj0BXE@lists.postgresql.org X-Gm-Message-State: AOJu0Ywsgb4CmZpkkvBXC/H+Lb8KcpwaY5NmDrfmrtRoM2I/axjZC4XC 7ufEW787ZJG0IsAUqW012Q7LR0JWWocepjJDnat6LycRKsy091c9 X-Gm-Gg: ASbGncugxKRzmJeSJHtqkbYwnNmkCRNDdcW/Ym3ntCGDEb/s0lEncLrenWPjT1zpznr Rb2GHoalQi1gUgyOGUhq8LECyDLE1nJaUt68ZBD3bJB1IyxBW8UCjj4/STaW2Jsdi3mBQVpXTzE gEbQRgc75n/bRrX+pzXWImbijJPRZNyQ/pS1phbko28q1KcgcOJDIBX26+EwQhh/fL7SZJJs9Yq Ko2posIHNgTx715O0ZxefPjaOiJKgMfevheZNXdoZib23LEs9WEUBVzWhBCNWbXNFgurPHE2pSb pTI4WQtQgZEVc1q0Vi4OQVWy6qkWGUI8ol78DwdVy4iOkcoROulVWnppVIEp/gDpTw89wYUyNn/ GP35c2QVlQ4rhr9Be1xzd+Hvrs2GTEB6CGXs= X-Google-Smtp-Source: AGHT+IFGW1+cl76vRLLoak5wafXFwdyPBgNtqSoX97IUiEQ/AhLt5bBQcIy1t4+Lx810NhjABhugtg== X-Received: by 2002:a05:690c:6d8d:b0:6fb:949b:57b with SMTP id 00721157ae682-703ce2964f9mr143062577b3.12.1743776910841; Fri, 04 Apr 2025 07:28:30 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 00721157ae682-703d1fded1dsm8978947b3.120.2025.04.04.07.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Apr 2025 07:28:29 -0700 (PDT) Date: Fri, 4 Apr 2025 09:28:27 -0500 From: Nathan Bossart To: Amit Kapila Cc: Michael Paquier , Alexander Lakhin , Tom Lane , "Jonathan S. Katz" , PostgreSQL Hackers Subject: Re: Large expressions in indexes can't be stored (non-TOASTable) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Apr 04, 2025 at 05:16:43PM +0530, Amit Kapila wrote: > Can we dodge adding this push call if we restrict the length of the > origin name to some reasonable limit like 256 or 512 and avoid the > need of toast altogether? We did consider just removing pg_replication_origin's TOAST table earlier [0], but we decided against it at that time. Maybe it's worth reconsidering... [0] https://postgr.es/m/ZvOMBhlb5zrBCG5p%40paquier.xyz -- nathan