-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YSQL] Cannot create procedure with a bare OUT formal parameter #12348
Comments
The following two should be backported:
|
I started a thread HERE to the pgsql-general@lists.postgresql.org to report a semantic error when |
What is your point, @sushantrmishra? Vanilla PG, through version 14.2 and therefore presumably for ever, does allow bare OUT parameters, Therefore, for compatibility, so should YB. |
My initial report here should have stated that the PG version in which I tested was 14.2. I'm afraid that I didn't take the time to create a PG Version 11 env in which to run my test. I've done that now. It happens to be PG Version 11.18 in a Ubuntu VM. (It's easy to choose the major version at install time. But it's too hard to control the minor version. This simply tracks the current latest within the major version series when you do "apt update" and then "apt -y upgrade".) Anyway, I re-ran my testcase using PG 11.18 (and YB-2.17.0.0). The YB outcome is identical to what this issue reports. And the PG outcome is now identical to the YB outcome.) My comment:
is clearly wrong. It seems that at some new major PG version, 12, 13, or 14, the restriction reported by this:
was lifted. I'm leaving this issue with status "open". It can be closed when a future YB version is released that's based on a newer version of PG than 11.2. |
Jira Link: DB-1778
Description
I'm using YB-2.13.0.1 on MacOS Big Sur.
See Issue #6133 opened in Oct-2020. It's now closed. Here's the testcase:
It reports
INFO: 11
as expected.Now derive a test that uses just a bare
OUT
parameter:This runs fine in vanilla PG and reports
INFO: 42
as expected. But in YB, thecreate procedure
statement causes this error:Notice that the error code maps to the generic PL/pgSQL exception feature_not_supported.
Will this be a permanent restriction in YB?
The text was updated successfully, but these errors were encountered: