Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot distinguish more PgSql stored functions if their name are identitical #58
I have to plpgsql functions with the same name but different argument list. (Yes, this is possible in postgresql.) In the left panel, under the Functions group, I can see both. However, the content of the CREATE Code panel shows the same content, regardless of which of them I click on the left panel.
Only one of the functions' CREATE code is readable, I cannot see the other one.
Failure information (for bugs)
This is a bug. The following query returns two records but only the function body belonging to the first one is shown:
Steps to reproduce
Please provide detailed steps for reproducing the issue.
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The next build should fix that. Internally, the argument types list is used to distinct between multiple procedures. E.g. your example procedures have "23 23" and the other one has "23 23 23". Taking that into account when selecting the routine body, we get only one procedure, not two.