pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
Date: Fri, 03 Feb 2017 09:43:33 -0500
Message-ID: <10350.1486133013@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA4eK1JwFBHGEAnQUse-geA_E6Y9HJVQCMA0OakM86zugynKaA@mail.gmail.com>
References: <E1cZUc7-0001gM-ES@gemulon.postgresql.org>
	<16740.1486093251@sss.pgh.pa.us>
	<CA+TgmobbOWS6KLR-WEK7xqdJmo=dMSLL3Yueh5UwwYnAdDoUGg@mail.gmail.com>
	<18461.1486094419@sss.pgh.pa.us>
	<CA+TgmoZLfE6_RiXSPWfneOXwsrwcryr_bPua=8mVoTnh-hk2AQ@mail.gmail.com>
	<19193.1486095398@sss.pgh.pa.us>
	<CAA4eK1JwFBHGEAnQUse-geA_E6Y9HJVQCMA0OakM86zugynKaA@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Amit Kapila <amit.kapila16@gmail.com> 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



view thread (22+ messages)  latest in thread

Message-ID: <10350.1486133013@sss.pgh.pa.us>
Permalink:  ../10350.1486133013@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10350.1486133013@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, amit.kapila16@gmail.com, robertmhaas@gmail.com
  Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
  In-Reply-To: <10350.1486133013@sss.pgh.pa.us>
  References: <E1cZUc7-0001gM-ES@gemulon.postgresql.org> <16740.1486093251@sss.pgh.pa.us> <CA+TgmobbOWS6KLR-WEK7xqdJmo=dMSLL3Yueh5UwwYnAdDoUGg@mail.gmail.com> <18461.1486094419@sss.pgh.pa.us> <CA+TgmoZLfE6_RiXSPWfneOXwsrwcryr_bPua=8mVoTnh-hk2AQ@mail.gmail.com> <19193.1486095398@sss.pgh.pa.us> <CAA4eK1JwFBHGEAnQUse-geA_E6Y9HJVQCMA0OakM86zugynKaA@mail.gmail.com> <10350.1486133013@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox