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 1wfXbc-005VOL-2T for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jul 2026 06:42:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wfXbb-005uLq-29 for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jul 2026 06:42:31 +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 1wfXba-005uLh-3D for pgsql-hackers@lists.postgresql.org; Fri, 03 Jul 2026 06:42:31 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wfXbW-00000001HnY-3e9W for pgsql-hackers@postgresql.org; Fri, 03 Jul 2026 06:42:30 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-476a130c138so228448f8f.0 for ; Thu, 02 Jul 2026 23:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783060945; x=1783665745; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=aOgZZQDWo3dM9+rWQc2EnCFl6MEGfp1roSRmsUHuM4Y=; b=gpL2r8o5qj+X0/TW5/9o7oYqkAsSAKWi9UhDi58N4RuMvSpz6njHhWolXRT3JR9tIh ix2juunGzdhu1bRder9oZsgN9Ib01IYNpE57hXmFL4GgpCb85zynaJxMQs45WtFSjl24 CeRgtTMdJ7vjtriQ3vwCsVyulVUnCBQxIehvXfSWMBLADbGBAU8QTu8FQkX367IBgX7U 7H9OLNdHZM1gKlvIvyr/SNEiWEJ8EiyfRPDInGUdl4hImCT+4kEJ0s3Lqv93mw2PKJFs QkZmN/bZL0KZnqNf+e41g5KetDa/ga7EI1zpogjxmjRZwW5q3qHUztpU9dge5+gR9CLK u6JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783060945; x=1783665745; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=aOgZZQDWo3dM9+rWQc2EnCFl6MEGfp1roSRmsUHuM4Y=; b=Tt6M/czWzKyMaZowC7M4zapAB5QceMcXY27kenE75zytjkxBQenErP2lemgvZ1+ZV1 pdhshu7hJbV1enT/GtUEPEDCzrSMoNJnU0ZBHBB7xZZTEjlGEDEWN0oqamhAgcThl0if Ge6ynPW43YNYM09VHgRPFwx80+rab9oapwaAFr90lGLQMviaJnyXA3gTNRDX1SKygHJZ NePwZsgrm7J3q/KgYiLHLAw26dmwemUX16YI5XCrEPR0cziGYL6hVWQRBCnGwK3hdrVE NvfTT/JorVzA9DcBEathXYLbwlHYQ5pNNz7lBVLY/AA5T/K10kOBqVvxWA8z1sSQ95Cf kHIA== X-Forwarded-Encrypted: i=1; AHgh+Rr08h+nTe6Vjaa1+VSCygdVnSGPZTd6uLY46fqjYQPCGXLZ34lIpigshyhZ/Aa+rGUvw3Wa4OYJ05EfiY5B@postgresql.org X-Gm-Message-State: AOJu0YxfOzaErNwm9bsdDSGHy/x7xIfd64vDDEmtL15D5LSGCen/cwr5 VMeeHHYKbdWfkzF911SwJkIJhNPo+jQJuomjFaAGJjQIf0fRBtSf6P9x5bNrKw== X-Gm-Gg: AfdE7cmd9K3hZOUbVBG4w4AJ8dEKEQSMyrCQF1mf1+OTYzHvrAWleOSs0qenFW6MBzo pyThji+k9I/ACpcwkf9ZfJB6qP80FLnRTsSyNr5RFXka6N0ttFE90E8QSUYnuhpimmNkxrMcbAx e51rdB2hAcSGYsQ1tb97Z2EQLDizZIbKHGmYCVxJyo491e4bim+kJMioF0gUU/32W9kUQgAkHdc /TyIkRNM8iJvx9ZXXEi6uiSURUrteSpL2ywy3G24+LhcZ7yd4CpoNCTDXFQM1EC2X2wiHV3Bhqs ZkOJTkmbjoaceSNLazRDdTraY14ltIOcjhmxsxemRKVQFiI3GZsrrYgKn2lkTP8RZUA6w+q3Zxr 8rJO3OyF+EOJDzAKoNdkyeJq6Xzeojo8dwbrmOXZKnkP75R6l+L2ls7F2eH0OQvYOYlc75Nv0S7 RbowZ3i3fIO+JjW2LirqMuVjjbMV+B42KgL4ez1+Vy X-Received: by 2002:a05:6000:26d1:b0:473:6e8d:7f3 with SMTP id ffacd0b85a97d-477b34b02f8mr12881510f8f.1.1783060945065; Thu, 02 Jul 2026 23:42:25 -0700 (PDT) Received: from localhost ([85.195.242.240]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-477dde19e8dsm16577734f8f.27.2026.07.02.23.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2026 23:42:24 -0700 (PDT) Date: Fri, 3 Jul 2026 08:42:18 +0200 From: Alberto Piai To: Alberto Piai , Laurenz Albe , pgsql-hackers@postgresql.org Cc: =?utf-8?Q?=C3=81lvaro?= Herrera Subject: Re: Adding a stored generated column without long-lived locks Message-ID: X-Mailer: aerc 0.21.0 References: <3af338791e8ab27c4a7efbc4217c97162de76bc8.camel@cybertec.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vszqhseuea6ckzmb" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --vszqhseuea6ckzmb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit v5 had a rather brittle test that was relying on a DEBUG message being emitted when phase 3 verifies or rewrites a table (via client_min_messages). That was failing on the CI because the output depends on any other setting that might affect logging (in this case it was log_statement). The attached v6 replaces it with an injection_point test. If adding new injection points to detect scans/rewrites is considered too much, I can back it out and set/reset log_statement too. But I do prefer the injection_point test. If the new injection point is good, there are also a couple more tests which might be updated to use it. Regards, Alberto -- Alberto Piai Sensational AG Zürich, Switzerland --vszqhseuea6ckzmb Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="v6-0001-Support-changing-a-column-into-a-stored-generated.patch"