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 1wmACK-000ctE-18 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jul 2026 13:07:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wmACI-007Xtz-0l for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jul 2026 13:07:45 +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 1wmACH-007Xtd-1a for pgsql-hackers@lists.postgresql.org; Tue, 21 Jul 2026 13:07:45 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wmACC-00000000RR4-0caS for pgsql-hackers@lists.postgresql.org; Tue, 21 Jul 2026 13:07:43 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 0F5B8EC011D; Tue, 21 Jul 2026 09:07:38 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Tue, 21 Jul 2026 09:07:38 -0400 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 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1784639258; x=1784725658; bh=A HR96IOJI+zd/i4oUXQxy6iYZ6XrGf7Pxe4GFHbuq2E=; b=PhRl7i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Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Jul 2026 09:07:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1784639253; bh=qhwlpyAkKe8VkzEUXtfgq1a+LZm33ust7kLEeTiW3T0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=OcrV0VE4gQHt/sV05ZWlS8b3E/lpjedXvStCT6WjF0cagxSSL0jYKXwSJvvNz9Mss LCVGLcyEnioMoX7oAqQnrmOKG8H2V7PvoVT8qDryjoxgMR8Vx0UXa3m62eP/qdK+Aw eIwcEPF7IGf7PqDwvCus7cfoamDGrtHQa7g1adOecSdNS/1g4amWFgCE1Pi8Wl3yEU PXHH2pWhEQpXIGPlw4cyzkXwZaihqxjRR/Zbjymjp7jSdpKCWno/88Uv5iljba/V8q 7zT266JO5XSyQhvzc1xqZT0gHYMhXSzF6JeHW1mV6IpU+IMO0v5LPyWLudfLTFnNqs Cir7mfWXNqLig== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 747A1B0000B; Tue, 21 Jul 2026 15:07:33 +0200 (CEST) Date: Tue, 21 Jul 2026 15:07:33 +0200 From: Alvaro Herrera To: "Jonathan Gonzalez V." Cc: Chao Li , Euler Taveira , japin , Andres Freund , pgsql-hackers@lists.postgresql.org Subject: Re: log_min_messages per backend type Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87bjc0heaq.fsf@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Jul-21, Jonathan Gonzalez V. wrote: > but the > second one is breaking the detection of the messages here: > > @@ -2392,6 +2393,8 @@ check_log_min_messages(char **newval, void **extra, GucSource source) > guc_free(rawstring); > return false; > } > + rawstring_len = strlen(rawstring); > + guc_free(rawstring); > > > The rawstring is being reference in the elemlist, so the free is making > the string empty when is going to be used later: Yeah, the second one is clearly busted. Please consider it withdrawn. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "After a quick R of TFM, all I can say is HOLY CR** THAT IS COOL! PostgreSQL was amazing when I first started using it at 7.2, and I'm continually astounded by learning new features and techniques made available by the continuing work of the development team." Berend Tober, http://archives.postgresql.org/pgsql-hackers/2007-08/msg01009.php