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 1wUtGV-001WHw-2u for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2026 21:36:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wUtGU-003bYf-1b for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Jun 2026 21:36:42 +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 1wUtGU-003bYX-0R for pgsql-hackers@lists.postgresql.org; Wed, 03 Jun 2026 21:36:42 +0000 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wUtGS-000000017jA-05Fw for pgsql-hackers@postgresql.org; Wed, 03 Jun 2026 21:36:41 +0000 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-48662d16d08so493741b6e.2 for ; Wed, 03 Jun 2026 14:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780522598; x=1781127398; darn=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=Jq5NXQ0d/8D7UuJpZxvWZ8/F+an7r8B1no4OVIV8Dw4=; b=sT+7FFqEWnhNEONLvquY/ZgDsmPPH8bI/h3oYP+cyhTWs80vJey4dYbpVM4oIekJjZ 5GU83FsGZC+sQoXGnlo6FEdasBJtPrnK+wbGRPVt0AK9SCmFFPqtrqaCltrPjzb45IXc UdOiDNeW1hQJI2fGVMq6Qm6IfLp0H2aG/bP+tcpFYcAZRTgQffVdhxCUIfjxAVCliD5T Xbz6lEexCNbxPw8meTxUA5uRH4Tnk0mEZshkNkNH/l5udURRxqehvqB2u3RODqJYVgZJ jXecGNNDDv90XYyVOnkaSyc9Z4iAu9AiQ017dzmQztmbzeD06VImQV6qUfvnzfg/zVsM qLFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780522598; x=1781127398; h=in-reply-to:content-disposition: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; bh=Jq5NXQ0d/8D7UuJpZxvWZ8/F+an7r8B1no4OVIV8Dw4=; b=TK6PaiMulECr3SgYFORNiKPgJf3QKPiAw8xwbu7yfLUGuVGvpShkglHTgZlDbPTLRO Ks7DR39oxwnrPJNSm+xHiOjBuhwbfIMIQPYfbDKRXWgANULFqJrdMlWjcpf2YeSVY3G4 7Q4spNY6zPOLqJq30Kfzn7ABtGCx6KDH97phFAM0PhTSX24mHPmhoOeBYdh8hsSt89nR LjMbT8VS5MrMr65mdvC0jr8F5innrb8Ob3RyKA8pRKPPL4jsk32aM/0gzV7cRlobtiMt oik6e6MDzd3rOsYlphC4aPFtuXEuErVk27gJJ41xfDpsVivhyLVVQYBtaOegy/mDvBa0 B8VA== X-Gm-Message-State: AOJu0Yw9y/9zbqAvHX06ymUNOD9aF7HvcfKNjBnRVDC5TVQk05RWZJNB TqDOIT+DadO4I50Ngpe8XNWG3SaGTDfP3yPCyx8l7/+Ztw/U1lJ9GjGwZXI3HA== X-Gm-Gg: Acq92OFTknSBnJTzE+w4Lli29pXK6Carchch+JtYSoKEAN9MBUNX/2T0st8FlbY1pIk pi0mEb1J8fJ27sckPYHmOGXVEsAhBK9t8+Rj4gP1WlGuYzN+FMmKpeL3LZXDT7A+UUHjr+5cq35 Z/yTNREFwux5YdLESZl2EgNwHiNoaGQSoKS92ZY9vwLHLpG/8o78mnNs5l12Z2EVWw65E1ehb60 NCWzzSVlzEcYp8Vkwz5hO3ZwkOIcl5DFypOhs3gEyv46amwY1rJmt5apskNc8BvsZUnL/bWC26R +F8rWa8VGCELyMRZ9UukifuZQguM3th6prRWDz2WWu6d/vQJ6+ivN2gpPSJCthOF/D7/4iNjAtQ emwhBvRIYJWfcMvLfm10ZboSWwcCAJ2AYbVzBsfWNKDSlFWxDbuT69dtwT9RUvg4KNA8u/Zk740 w/JTEARG2ZHEv0al/laf9KFErB8Rjne1RuOXBvmFyCPYLI2zNHMsmGfjfQuxjMDTK7x116Kezbv rEq9YTSHTd7hk/CRk9dN8b5su1fq3wD X-Received: by 2002:a05:6808:4f61:b0:485:43ed:bd4d with SMTP id 5614622812f47-4865aad1ac7mr3172925b6e.33.1780522597864; Wed, 03 Jun 2026 14:36:37 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4865b91ead7sm2781624b6e.10.2026.06.03.14.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2026 14:36:37 -0700 (PDT) Date: Wed, 3 Jun 2026 16:36:34 -0500 From: Nathan Bossart To: Jacob Champion Cc: pgsql-hackers@postgresql.org Subject: Re: future of PQfn() Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6CoALBM/+cswbGQ8" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --6CoALBM/+cswbGQ8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline While the prepared statement deallocation idea bakes in the other thread, I thought I'd post a new patch set here. I've reordered things a bit and left out the conversion to prepared statements for now (although I do have a patch for that). 0001 removes PQfn() and changes all internal uses to PQnfn(). 0002 and 0003 are just some additional cleanup that I noticed as I've been working on this stuff. -- nathan --6CoALBM/+cswbGQ8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v3-0001-remove-PQfn.patch