-
Notifications
You must be signed in to change notification settings - Fork 473
Update SHOW ALL docs and sidebar #1057
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
Conversation
show-all.md
Outdated
`DATABASE` | The default database for the current session, as set by [`SET DATABASE`](set-database.html) or the client's connection string. This variable can be viewed with [`SHOW DATABASE`](show-database.html) as well. | ||
`DEFAULT_TRANSACTION_ISOLATION` | The default transaction isolation level for the current session, as set by `SET DEFAULT_TRANSACTION_ISOLATION` or the client's connection string. | ||
`MAX_INDEX_KEYS` | Not usable; exposed only for ORM compatibility. | ||
`SEARCH_PATH` | A list of databases or name spaces that will be searched to resolve unqualified table or function names. This variable can be changed with `SET SEARCH_PATH`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Namespaces should be a single word.
Also, we don't actually support changing this with SET
, so I would drop the last sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
show-all.md
Outdated
`DEFAULT_TRANSACTION_ISOLATION` | The default transaction isolation level for the current session, as set by `SET DEFAULT_TRANSACTION_ISOLATION` or the client's connection string. | ||
`MAX_INDEX_KEYS` | Not usable; exposed only for ORM compatibility. | ||
`SEARCH_PATH` | A list of databases or name spaces that will be searched to resolve unqualified table or function names. This variable can be changed with `SET SEARCH_PATH`. | ||
`SERVER_VERSION` | The latest version of PostgreSQL that CockroachDB is compatible with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm starting to doubt that "compatible with" is the correct phrasing, and I would drop the word "latest". This is the version of Postgres that we try to emulate. Perhaps "implement"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
3eddf44
to
1a23e51
Compare
LGTM |
LGTM |
1a23e51
to
b8a4d71
Compare
* Add loading state * Documented missing states 'none' and 'fatal error' Additionally, reordered states based on occurance during a run and relevance for the user. * Review * Fix link * Update examples for 3.10 in feature/add-loading-state-to-list-of-pregel-states at 2022-08-11T15:39:29+02:00 * Fix 3-way merge mistakes Co-authored-by: Simran Spiller <simran@arangodb.com> Co-authored-by: ansoboleva <93702078+ansoboleva@users.noreply.github.com> Co-authored-by: arangodb-release-bot <anastasia.soboleva@arangodb.com>
This PR adds the
MAX_INDEX_KEYS
,SEARCH_PATH
, andSERVER_VERSION
variables to theSHOW ALL
statement documentation. Fixes #933. Fixes #790.It also changes the Develop sidebar a bit:
SQL Syntax
to better house topics like constants, keywords, expressions, and the full grammar.@knz, the addition of
search_path
to theshow all
docs goes well with your PR on name resolution. I'll get that reviewed in the morning. If we merge that first, I can link to those docs from thesearch_path
description on theshow all
page.This change is