Skip to content

builtins: implement a separate session_user() builtin#68749

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
otan-cockroach:session_user_setup
Aug 18, 2021
Merged

builtins: implement a separate session_user() builtin#68749
craig[bot] merged 1 commit intocockroachdb:masterfrom
otan-cockroach:session_user_setup

Conversation

@otan
Copy link
Copy Markdown
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
Copy Markdown
Member

This change is Reviewable

@otan otan requested review from a team and rafiss 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
Copy Markdown
Contributor Author

otan commented Aug 17, 2021

bors r=richardjcai

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 18, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
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