Re: Added prosupport function for estimating numeric generate_series rows - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Added prosupport function for estimating numeric generate_series rows
Date
Msg-id CAEZATCUh=tDahTBAGLRsYu_4NJ4W1MiAdy3g8U54nTc3VvjSGQ@mail.gmail.com
Whole thread Raw
In response to Re: Added prosupport function for estimating numeric generate_series rows  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Fri, 29 Nov 2024, 12:01 David Rowley, <dgrowleyml@gmail.com> wrote:
On Fri, 29 Nov 2024 at 18:50, songjinzhou <tsinghualucky912@foxmail.com> wrote:
> Hello, thank you and David Rowley for your comments.
>
> I have used pgindent to adjust the code format and added comments and missing regression test cases. Here is the patch of version v3.

It looks fine to me.  The only things I'd adjust are stylistic,
namely; 1) remove two tabs before the goto label, 2) remove redundant
braces around the goto cleanup, 3) rename the variable "q" to
something slightly more meaningful, maybe "res" or "rows".

I'll defer to Dean.


There are a couple more things that I think need tidying up. I'll post an update when I get back to my computer.

Regards,
Dean

pgsql-hackers by date:

Previous
From: Nisha Moond
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation
Next
From: Marcos Pegoraro
Date:
Subject: Re: Use or not record count on examples