Re: Added prosupport function for estimating numeric generate_series rows
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: songjinzhou <tsinghualucky912@foxmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Dean Rasheed <dean.a.rasheed@gmail.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>,
japinli <japinli@hotmail.com>
Date: 2024-11-29T12:01:28Z
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 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. David