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

builtins: implement a separate session_user() builtin #68749

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

otan
Copy link
Contributor

@otan otan commented Aug 12, 2021

This is needed groundwork to separate current_user and session_user.

Refs: #15005

Release note (sql change): Add a session_user() builtin function, which
currently returns the same thing as current_user() as we do not
implement SET ROLE.

This is needed groundwork to separate current_user and session_user.

Release note (sql change): Add a session_user() builtin function, which
currently returns the same thing as current_user() as we do not
implement `SET ROLE`.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@otan otan requested review from rafiss and a team August 12, 2021 01:11
@otan otan force-pushed the session_user_setup branch from 6ce4c78 to 75da5be Compare August 12, 2021 01:28
@otan otan mentioned this pull request Aug 16, 2021
@otan
Copy link
Contributor Author

otan commented Aug 17, 2021

bors r=richardjcai

@craig
Copy link
Contributor

craig bot commented Aug 18, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Aug 18, 2021

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants