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 1sL5MX-00DOXz-2G for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Jun 2024 18:21:21 +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 1sL5MV-00DRyd-6o for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Jun 2024 18:21:19 +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.94.2) (envelope-from ) id 1sL5MU-00DRyP-5t for pgsql-hackers@lists.postgresql.org; Sat, 22 Jun 2024 18:21:19 +0000 Received: from mail.nataraj.su ([168.119.121.177]) by makus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sL5MO-002baN-5W for pgsql-hackers@lists.postgresql.org; Sat, 22 Jun 2024 18:21:17 +0000 Received: from thinkpad-pgpro.localnet (unknown [91.203.188.92]) by mail.nataraj.su (Postfix) with ESMTPSA id 3879B144B69; Sat, 22 Jun 2024 21:21:09 +0300 (MSK) From: Nikolay Shaplov To: jian he , pgsql-hackers@lists.postgresql.org Cc: Peter Smith , Alvaro Herrera , Yura Sokolov , pgsql-hackers@lists.postgresql.org, Michael Paquier , Nikolay Shaplov Subject: Re: [PATCH] New [relation] option engine Date: Sat, 22 Jun 2024 21:21:08 +0300 Message-ID: <24214970.ouqheUzb2q@thinkpad-pgpro> Organization: Postgres Professional In-Reply-To: <2726217.uZKlY2gecq@thinkpad-pgpro> References: <202312081259.2pwkb25emowf@alvherre.pgsql> <2726217.uZKlY2gecq@thinkpad-pgpro> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2659572.k3LOHGUjKi"; micalg="pgp-sha512"; protocol="application/pgp-signature" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --nextPart2659572.k3LOHGUjKi Content-Type: multipart/mixed; boundary="nextPart2114462.KlZ2vcFHjT"; protected-headers="v1" Content-Transfer-Encoding: 7Bit From: Nikolay Shaplov Subject: Re: [PATCH] New [relation] option engine Date: Sat, 22 Jun 2024 21:21:08 +0300 Message-ID: <24214970.ouqheUzb2q@thinkpad-pgpro> Organization: Postgres Professional In-Reply-To: <2726217.uZKlY2gecq@thinkpad-pgpro> MIME-Version: 1.0 This is a multi-part message in MIME format. --nextPart2114462.KlZ2vcFHjT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" While fixing the patch according to jian he recommendations, I come to a conclusion that using void* pointer to a structure is really bad idea. Do not know why I ever did it that way from start. So I fixed it. Changes of this fix can be seen here: https://gitlab.com/dhyannataraj/postgres/-/commit/be4d9e16 The whole patch is attached to this mail. -- Nikolay Shaplov aka Nataraj Fuzzing Engineer at Postgres Professional Matrix IM: @dhyan:nataraj.su --nextPart2114462.KlZ2vcFHjT Content-Disposition: attachment; filename="v9-0001-New-options-engine.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="unicode-2-0-utf-8"; name="v9-0001-New-options-engine.patch"