Re: Added prosupport function for estimating numeric generate_series rows
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: songjinzhou <tsinghualucky912@foxmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>,
japinli <japinli@hotmail.com>
Date: 2024-11-29T13:10:14Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add a planner support function for numeric generate_series().
- 97173536ed4b 18.0 landed
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