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

sql: consider allowing referencing temp tables in routines #121375

Open
yuzefovich opened this issue Mar 29, 2024 · 0 comments
Open

sql: consider allowing referencing temp tables in routines #121375

yuzefovich opened this issue Mar 29, 2024 · 0 comments
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL A-sql-routine UDFs and Stored Procedures C-cleanup Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior. docs-known-limitation T-sql-queries SQL Queries Team

Comments

@yuzefovich
Copy link
Member

yuzefovich commented Mar 29, 2024

We currently prohibit creation of routines that reference temporary tables which Postgres allows. This restriction is the reason for several tests skipped in pgjdbc roachtest (5 in ProcedureTransactionTest and 33 in Jdbc3CallableStatementTest).

Jira issue: CRDB-37216

@yuzefovich yuzefovich added C-cleanup Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior. T-sql-queries SQL Queries Team A-sql-routine UDFs and Stored Procedures A-sql-pgcompat Semantic compatibility with PostgreSQL labels Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL A-sql-routine UDFs and Stored Procedures C-cleanup Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior. docs-known-limitation T-sql-queries SQL Queries Team
Projects
Status: Backlog
Development

No branches or pull requests

1 participant