Re: Improper use about DatumGetInt32 - Mailing list pgsql-hackers

From Anastasia Lubennikova
Subject Re: Improper use about DatumGetInt32
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Improper use about DatumGetInt32  (Peter Eisentraut <[email protected]>)
Responses Re: Improper use about DatumGetInt32
List pgsql-hackers
On 02.11.2020 18:59, Peter Eisentraut wrote:
> I have committed 0003.
>
> For 0001, normal_rand(), I think you should reject negative arguments 
> with an error.

I've updated 0001. The change is trivial, see attached.

>
> For 0002, I think you should change the block number arguments to 
> int8, same as other contrib modules do.
>
Agree. It will need a bit more work, though. Probably a new version of 
pageinspect contrib, as the public API will change.
Ashutosh, are you going to continue working on it?

-- 
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Use standard SIGHUP and SIGTERM handlers in autoprewarm module
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Implementing Incremental View Maintenance