Re: New function normal_rand_array function to contrib/tablefunc. - Mailing list pgsql-hackers

From Japin Li
Subject Re: New function normal_rand_array function to contrib/tablefunc.
Date
Msg-id ME0P300MB044507CFEB6BB14A9D8D1060B6562@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Whole thread Raw
In response to New function normal_rand_array function to contrib/tablefunc.  (Andy Fan <zhihuifan1213@163.com>)
List pgsql-hackers
On Fri, 01 Nov 2024 at 09:33, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> On Wed, 16 Oct 2024 at 08:43, Andy Fan <zhihuifan1213@163.com> wrote:
>>
>>  Thanks for the detailed feedback! Here is the rebased version.
>>
>
> I took another look at this and I think it's in reasonable shape.
>
> I'm attaching an update, rebasing it on top of 9be4e5d293.
>
> Also it was missing a required update to the meson.build file --
> that's the immediate cause of the other cfbot failures.
>
> The rest is just cosmetic tidying up, fixing indentation, tweaking
> comments, and the like. I also hacked on the docs a bit -- the
> synopsis only listed one of the new function signatures for some
> reason. After fixing that, I think it's sufficient to just list one
> usage example.
>

LGTM expect there is a warning when applying the patch.

Applying: tablefunc: Add rand_array() functions.
.git/rebase-apply/patch:475: trailing whitespace.
      rand_array
warning: 1 line adds whitespace errors.

The other looks good to me.

-- 
Regrads,
Japin Li



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Having problems generating a code coverage report
Next
From: Masahiko Sawada
Date:
Subject: Re: Count and log pages set all-frozen by vacuum