CockroachDB needs stored procedures in the long term.
This is a placeholder issue to group action items:
user @camuel has written a PDF about why it makes sense from a PM perspective: https://u23433218.dl.dropboxusercontent.com/u/23433218/PSM4CRDB%20EARLY%20DAFT%20BY%20CAMUEL%20GILYADOV.pdf
Thanks @knz, I have updated the document and here is the second version: https://tinyurl.com/ybq4tvqw
I'm impatiently waiting for a feedback and further guidance and I'm interested in implementing this feature. I do have a few questions:
Sorry for nooby questions and thanks again
Hold your horses! We are welcoming input but it is just too soon. If you really want to help with this, please wait at least until January 2018.
If you and your team would like to help improve CockroachDB in the mean time, especially in areas that will enable later work on stored procedures, please let us know. In particular it would be great if you could get in touch with Nate Stewart nate@cockroachlabs.com to discuss your overall strategy, how and why you plan to contribute to CockroachDB, and see how well your plans/intents/interests match our roadmap. (Also we can take input from you!)
If we introduce stored procedures, we'll also have to change FmtAnonymize to strip at least user-defined function names.
In Navicat
SELECT r.routine_schema, r.routine_name, string_agg(p.udt_name, ', ') AS object_info
FROM information_schema.routines AS r
LEFT JOIN information_schema.parameters AS p ON r.specific_name = p.specific_name GROUP BY p.specific_name, r.routine_schema, r.routine_name
ORDER BY r.routine_schema
I180409 21:52:10.217696 380 sql/conn_executor.go:1805 [n1,client=[::1]:56172,user=root] execution error: relation "information_schema.routines" does not exist
Is there a status update on this?
Yes: "not yet".
Most helpful comment
Yes: "not yet".