Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZf5P-0004S0-Hk for pgsql-committers@arkaria.postgresql.org; Fri, 03 Feb 2017 14:43:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZf5O-0002v9-TO for pgsql-committers@arkaria.postgresql.org; Fri, 03 Feb 2017 14:43:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZf5O-0002v3-Mf for pgsql-committers@postgresql.org; Fri, 03 Feb 2017 14:43:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZf5L-0002Ui-Oj for pgsql-committers@postgresql.org; Fri, 03 Feb 2017 14:43:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v13EhX2E010351; Fri, 3 Feb 2017 09:43:33 -0500 From: Tom Lane To: Amit Kapila cc: Robert Haas , pgsql-committers Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit. In-reply-to: References: <16740.1486093251@sss.pgh.pa.us> <18461.1486094419@sss.pgh.pa.us> <19193.1486095398@sss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Fri, 03 Feb 2017 16:36:04 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10349.1486133013.1@sss.pgh.pa.us> Date: Fri, 03 Feb 2017 09:43:33 -0500 Message-ID: <10350.1486133013@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Amit Kapila writes: > I have gone through all the of the SQL declarations and it seems > hash_metapage_info(...,OUT procid int4,..) is not consistent. procid > is unsigned int, so isn't it better to use the corresponding datatype > as int8 in SQL function hash_metapage_info then use Int64GetDatum? Isn't procid an OID? I'd use OID or maybe even regprocedure on the SQL side. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers