Closed v-ruizh closed 6 months ago
Debugging the code reveals more details:
In PostgreSQL, both function
s and procedure
s are different kinds of routine
s. If a function with the same name exists, the error message indicates that the new procedure cannot be created because by doing so, it would effectively change the "kind" of the existing function to "procedure". The error is expected.
OS: Win10 Build Version: 20240112.17
Repro Steps:
Expect: Succeeds to execute the stored procedure query named with the existing function name.
Actual: Fail to execute the stored procedure query named with the existing function name.
More Info: