sql: make SHOW and SET more consistent.#13678
Conversation
|
Review status: 0 of 8 files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
|
Looks good at a glance, @knz , but I need to find a stretch of time without kids (on vacation). Will review more closely as soon as I can. |
|
On 21-02-17 15:44, jseldess wrote:
Looks good at a glance, @knz <https://github.com/knz> , but I need to
find a stretch of time without kids (on vacation). Will review more
closely as soon as I can.
It can wait until next week! Enjoy vacation!
…--
Raphael 'kena' Poss
|
|
Actually, @sploiselle, can you review once you're back in the office? |
This patch is intended to smoothe user experience: - `SHOW TRANSACTION STATUS` can display the current transaction state; make `SHOW ALL` report this as well. - `SHOW ALL` can display the value of `session_user`. Ensure that `SHOW SESSION_USER` works too. Also this patch annotates the grammar to avoid separate syntax diagrams for the various syntactic variants of the (single) SHOW and SET statements.
|
Rebased to current master. |
|
I'm going to merge this so that we get the fix for |
|
Thanks @knz. Sorry for the delay in reviewing this. |
This patch is intended to smoothe user experience:
SHOW TRANSACTION STATUScan display the current transaction state;make
SHOW ALLreport this as well.SHOW ALLcan displayy the value ofsession_user. Ensure thatSHOW SESSION_USERworks too.Also this patch annotates the grammar to avoid separate syntax diagrams
for the various syntactic variants of the (single) SHOW and SET
statements.
Needed for #12408.
Corresponding doc changes covered in cockroachdb/docs#1107.
This change is