-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
plpgsql: DETAIL: stmt_dyn_exec is not yet supported #137561
Comments
Hi @paigeadelethompson, please add branch-* labels to identify which branch(es) this C-bug affects. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Hello, I am Blathers. I am here to help you get the issue triaged. It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
|
also found the regression test for the
this is just the first of 242 migrations that need to be applied for this application to work correctly. I don't even know sprocs that well to say whether or not this is something I can workaround (I wanna try but I'm also looking at this list of 241 migrations that need to be applied and thinking my god what am I getting myself into? Moreover I'm not sure how I arrived at the conclusion that sprocs would be limited in scope (My only frame of reference is MSSQL and admittedly it's been a really long time but the only time I had problems like this was going into a migration from one version to another. Is that the point I'm missing here? I know there are different versions of pgsql so I'm wondering if there's a compatibility level for which I should assume cockroach should work fine for or is it always just hit or miss? Thanks |
Stale issue, but apparently a more broad effort to address the problem (mine also originates from migrations created with diesel) #13787 |
Just looking through this regression test a little bit more it looks like I would also be hitting a wall with RECORD types:
and possibly several set returning sprocs:
I don't know whether or not EDIT: again no big deal I'm not complaining also I see that regression test was recently (in the past 4 days modified) so presumably the plan is to support this and it would just be nice to know for certain that the intention here is to support this so I can set my expectations accordingly for what I can do with CRDB going forward |
Thanks for opening up the issue! Indeed, you ran into a known limitation that we don't yet support We did implement |
Oh cool thank you for clearing that up some, I started looking at the code and found this: 7505583#diff-f8265107fda3aef59cddcab4cdf6b229312224027fe3db5264879cd2659afbbbR164 which looks like it might already be in place (I see a tag that says this is already in I'll keep an eye on this maybe this will work with |
The commit that you linked only added the parser support, and it merged last year, so it's been included in versions 23.2+ or so. v24.3.1 won't have any new features supported I think - we generally only include new features in major releases (so either 24.3.0 or 25.1.0, but not in the minor release like 24.3.1. I'm going to close this issue as a dup of #117744 - please follow that issue for updates about PLpgSQL functionality that we add full support for. |
Jira issue: CRDB-45652
The text was updated successfully, but these errors were encountered: