Skip to content

Commit 1a23e51

Browse files
author
Jesse Seldess
committed
update show all and sidebar
1 parent c5fdac4 commit 1a23e51

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed

_data/sidebar_doc.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ entries:
5656
- title: Install Client Drivers
5757
url: /install-client-drivers.html
5858

59+
- title: SQL Feature Support
60+
url: /sql-feature-support.html
61+
5962
thirdlevel:
6063
- title: SQL Statements
6164
thirdlevelitems:
@@ -216,10 +219,24 @@ entries:
216219
- title: <code>UPSERT</code>
217220
url: /upsert.html
218221

219-
- title: SQL Grammar
220-
url: /sql-grammar.html
222+
- title: SQL Syntax
223+
thirdlevelitems:
224+
225+
- title: Keywords & Identifiers
226+
url: /keywords-and-identifiers.html
227+
228+
- title: Constants
229+
url: /sql-constants.html
230+
231+
- title: Value Expressions
232+
url: /sql-expressions.html
233+
234+
- title: Table Expressions
235+
url: /table-expressions.html
236+
237+
- title: Full SQL Grammar
238+
url: /sql-grammar.html
221239

222-
thirdlevel:
223240
- title: Constraints
224241
thirdlevelitems:
225242

@@ -247,12 +264,6 @@ entries:
247264
- title: Data Definition
248265
thirdlevelitems:
249266

250-
- title: Keywords & Identifiers
251-
url: /keywords-and-identifiers.html
252-
253-
- title: Constants
254-
url: /sql-constants.html
255-
256267
- title: Indexes
257268
url: /indexes.html
258269

@@ -307,15 +318,6 @@ entries:
307318
- title: <code>BYTES</code>
308319
url: /bytes.html
309320

310-
- title: Expressions
311-
thirdlevelitems:
312-
313-
- title: Value Expressions
314-
url: /sql-expressions.html
315-
316-
- title: Table Expressions
317-
url: /table-expressions.html
318-
319321
- title: Privileges
320322
url: /privileges.html
321323

@@ -422,9 +424,6 @@ entries:
422424
- title: CockroachDB in Comparison
423425
url: /cockroachdb-in-comparison.html
424426

425-
- title: SQL Feature Support
426-
url: /sql-feature-support.html
427-
428427
- title: CockroachDB Architecture
429428
url: /cockroachdb-architecture.html
430429

show-all.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Variable | Description
2424
------|------------
2525
`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.
2626
`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.
27+
`MAX_INDEX_KEYS` | Not usable; exposed only for ORM compatibility.
28+
`SEARCH_PATH` | A list of databases or namespaces that will be searched to resolve unqualified table or function names.
29+
`SERVER_VERSION` | The version of PostgreSQL that CockroachDB emulates.
2730
`SYNTAX` | The default SQL syntax for the current session, as set by `SET SYNTAX`. This variable can be viewed with `SHOW SYNTAX` as well.
2831
`TIME ZONE` | The default time zone for the current session, as set by [`SET TIME ZONE`](set-time-zone.html). This variable can be viewed with [`SHOW TIME ZONE`](show-time-zone.html) as well.
2932
`TRANSACTION ISOLATION LEVEL` | The isolation level of the current transaction, as set by [`SET TRANSACTION ISOLATION LEVEL`](set-transaction.html). When run in the context of a transaction, [`SHOW TRANSACTION ISOLATION LEVEL`](show-transaction.html) returns this variable as well.<br><br>This will differ from `DEFAULT_TRANSACTION_ISOLATION` only when `SHOW ALL` is run in the context of a transaction and `SET TRANSACTION ISOLATION LEVEL` has been used to set a non-default isolation level for the specific transaction.
@@ -34,18 +37,22 @@ Variable | Description
3437
~~~ sql
3538
> SHOW ALL;
3639
~~~
40+
3741
~~~
3842
+-------------------------------+--------------+
3943
| Variable | Value |
4044
+-------------------------------+--------------+
41-
| DATABASE | bank |
45+
| DATABASE | test |
4246
| DEFAULT_TRANSACTION_ISOLATION | SERIALIZABLE |
47+
| MAX_INDEX_KEYS | 32 |
48+
| SEARCH_PATH | pg_catalog |
49+
| SERVER_VERSION | 9.5.0 |
4350
| SYNTAX | Traditional |
4451
| TIME ZONE | UTC |
4552
| TRANSACTION ISOLATION LEVEL | SERIALIZABLE |
4653
| TRANSACTION PRIORITY | NORMAL |
4754
+-------------------------------+--------------+
48-
(6 rows)
55+
(9 rows)
4956
~~~
5057

5158
## See Also

0 commit comments

Comments
 (0)