libpq: Add PQapplicationname() function

2025-04-29 Thread songjinzhou
Dear hackers, here is a libpq function: PQapplicationname(), I think it may be of some use.  Looking forward to your reply, thank you. v1_0001-libpq-Add-PQapplicationname-function.patch Description: Binary data

Modify an incorrect regression test case in the group by key value elimination function

2025-02-17 Thread songjinzhou
Dear hackers:  Two months ago, we enhanced the group by key value elimination function. This is a very useful function. When I was learning, I found a regression test case that was not suitable, as follows: -- When there are multiple supporting unique indexes and the GROUP BY contains -- colu

Re: Added prosupport function for estimating numeric generate_series rows

2024-11-28 Thread songjinzhou
> This sort of stuff is best addressed by running the code through > pgindent, rather than fixing it manually. Usually we don't insist > on submitters getting it right; the committer should pgindent it. Hello, thank you and David Rowley for your comments.  I have used pgindent to adjust the

Re: Re: Support plpgsql multi-range in conditional control

2023-01-25 Thread songjinzhou
>Hi >st 25. 1. 2023 v 16:39 odesílatel songjinzhou <2903807...@qq.com> napsal: >Hello, my personal understanding is that you can use multiple iterative >controls (as a merge) in a fo loop, otherwise we can only separate these >iterative controls, but in fact, they may d

Re: Re: Support plpgsql multi-range in conditional control

2023-01-25 Thread songjinzhou
Hello, this usage scenario is from Oracle's PL/SQL language (I have been doing the function development of PL/SQL language for some time). I think this patch is very practical and will expand our for loop scenario. In short, I look forward to your reply. Happy Chinese New Year! songji