Re: pgsql: pageinspect: Try to fix some bugs in previous commit.

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: pageinspect: Try to fix some bugs in previous commit.
Date: 2017-02-03 14:50:38
Message-ID: CAA4eK1Jo+M035uz2d95Ld67Zp+g1yjukgBAw5C+98fNU1keHrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Feb 3, 2017 at 8:13 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Amit Kapila <amit(dot)kapila16(at)gmail(dot)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?
>

It is RegProcedure.

> I'd use OID or maybe even regprocedure on
> the SQL side.
>

I think we can use either one of those.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-02-03 14:59:49 Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.
Previous Message Robert Haas 2017-02-03 14:49:27 Re: pgsql: pageinspect: Try to fix some bugs in previous commit.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-02-03 14:59:49 Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.
Previous Message Robert Haas 2017-02-03 14:49:27 Re: pgsql: pageinspect: Try to fix some bugs in previous commit.