Skip to content
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: add support for FOR loop statements #105246

Open
DrewKimball opened this issue Jun 21, 2023 · 3 comments
Open

plpgsql: add support for FOR loop statements #105246

DrewKimball opened this issue Jun 21, 2023 · 3 comments
Labels
A-sql-udf C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) docs-known-limitation T-sql-queries SQL Queries Team
Projects

Comments

@DrewKimball
Copy link
Collaborator

DrewKimball commented Jun 21, 2023

This issue tracks adding support for PLpgSQL FOR loops: https://www.postgresql.org/docs/current/plpgsql-control-structures.html#PLPGSQL-CONTROL-STRUCTURES-LOOPS

Jira issue: CRDB-28938
Epic CRDB-37715

@DrewKimball DrewKimball added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Jun 21, 2023
@DrewKimball DrewKimball added this to Triage in SQL Queries via automation Jun 21, 2023
@blathers-crl blathers-crl bot added the T-sql-queries SQL Queries Team label Jun 21, 2023
@DrewKimball DrewKimball moved this from Triage to 23.2 Release in SQL Queries Jun 21, 2023
@mgartner
Copy link
Collaborator

WHILE loops were added in #108444.

@msirek
Copy link
Contributor

msirek commented Oct 10, 2023

While loops will be supported in 23.2, but for loops will not.

@michae2
Copy link
Collaborator

michae2 commented Nov 20, 2023

Added docs-known-limitation because for loops are not supported in 23.2.

@mgartner mgartner added the A-sql-routine UDFs and Stored Procedures label Nov 28, 2023
@DrewKimball DrewKimball changed the title plpgsql: add support for FOR and WHILE loop statements plpgsql: add support for FOR loop statements Jan 12, 2024
@exalate-issue-sync exalate-issue-sync bot added A-sql-udf and removed A-sql-routine UDFs and Stored Procedures labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-udf C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) docs-known-limitation T-sql-queries SQL Queries Team
Projects
Status: 24.3 Release
SQL Queries
23.2 Release
Development

No branches or pull requests

4 participants