-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add support for the SET command to assign values to variables #7306
Comments
Maybe it's also possible to support the SET LOCAL of PostgreSQL. So it will be possible to support RLS shown like here. |
@sainth- Thanks for your comment. That's a different type of |
(by which I mean to say: I sense a completely separate use-case in your message, which I'm more than happy to discuss in a new github issue!) |
@lukaseder Sorry, my mistake. I will create a new issue. |
In databases supporting procedural languages, there is always a way to assign a value to a variable.
SET
command for this. It can even takeSELECT
statements as argument expressionsSET
command translates either to an assignmentvar := value;
or ...SELECT .. INTO
statementThere may be other syntaxes
For variable declarations, see #7305 (this depends on declarations)
The text was updated successfully, but these errors were encountered: