You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generated/sql/session_vars.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@ SHOW application_name;
113
113
<tr><td><code>foreign_key_cascades_limit</code></td><td>Sets the maximum number of cascading operations for foreign key actions.</td><td><code>10000</code></td><td>No</td><td><code>sql.defaults.foreign_key_cascades_limit</code></td></tr>
114
114
<tr><td><code>idle_in_transaction_session_timeout</code></td><td>Sets the maximum allowed duration for an idle transaction session. The session is terminated if it exceeds this limit.</td><td><code>0s</code></td><td>No</td><td><code>sql.defaults.idle_in_transaction_session_timeout</code></td></tr>
115
115
<tr><td><code>idle_session_timeout</code></td><td>Sets the maximum allowed duration for an idle session. The session is terminated if it exceeds this limit.</td><td><code>0s</code></td><td>No</td><td><code>sql.defaults.idle_in_session_timeout</code></td></tr>
116
+
<tr><td><code>in_hot_standby</code></td><td>Reports whether the server is currently in hot standby mode (always off in CockroachDB).</td><td><code>off</code></td><td>Yes</td><td>-</td></tr>
116
117
<tr><td><code>index_join_streamer_batch_size</code></td><td>Sets the size limit on input rows to the ColIndexJoin operator when using the Streamer API for a single lookup KV batch.</td><td><code>8.0 MiB</code></td><td>No</td><td><code>sql.distsql.index_join_streamer.batch_size</code></td></tr>
117
118
<tr><td><code>index_recommendations_enabled</code></td><td>Controls whether index recommendations are enabled.</td><td><code>on</code></td><td>No</td><td>-</td></tr>
118
119
<tr><td><code>initial_retry_backoff_for_read_committed</code></td><td>Sets the initial backoff duration for automatic retries of statements in explicit READ COMMITTED transactions that encounter retry errors.</td><td><code>2ms</code></td><td>No</td><td>-</td></tr>
@@ -213,6 +214,7 @@ SHOW application_name;
213
214
<tr><td><code>results_buffer_size</code></td><td>Specifies the size at which the pgwire results buffer will self-flush.</td><td><code>-</code></td><td>Yes</td><td>-</td></tr>
214
215
<tr><td><code>role</code></td><td>The current role for the session.</td><td><code>none</code></td><td>No</td><td>-</td></tr>
215
216
<tr><td><code>row_security</code></td><td>Controls whether row level security is enabled.</td><td><code>on</code></td><td>No</td><td>-</td></tr>
217
+
<tr><td><code>scram_iterations</code></td><td>Reports the iteration count for SCRAM-SHA-256 password hashing.</td><td><code>10610</code></td><td>Yes</td><td>-</td></tr>
216
218
<tr><td><code>search_path</code></td><td>Sets the list of namespaces to search when resolving unqualified names.</td><td><code>"$user", public</code></td><td>No</td><td>-</td></tr>
217
219
<tr><td><code>serial_normalization</code></td><td>Controls how `SERIAL` columns are normalized.</td><td><code>rowid</code></td><td>No</td><td><code>sql.defaults.serial_normalization</code></td></tr>
218
220
<tr><td><code>server_encoding</code></td><td>Reports the database encoding (always UTF8). This cannot be changed.</td><td><code>UTF8</code></td><td>Yes</td><td>-</td></tr>
Copy file name to clipboardExpand all lines: pkg/sql/logictest/testdata/logic_test/show_source
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,7 @@ force_savepoint_restart off
123
123
foreign_key_cascades_limit 10000 Sets the maximum number of cascading operations for foreign key actions.
124
124
idle_in_transaction_session_timeout 0 Sets the maximum allowed duration for an idle transaction session. The session is terminated if it exceeds this limit.
125
125
idle_session_timeout 0 Sets the maximum allowed duration for an idle session. The session is terminated if it exceeds this limit.
126
+
in_hot_standby off Reports whether the server is currently in hot standby mode (always off in CockroachDB).
126
127
index_join_streamer_batch_size 8.0 MiB Sets the size limit on input rows to the ColIndexJoin operator when using the Streamer API for a single lookup KV batch.
127
128
index_recommendations_enabled off Controls whether index recommendations are enabled.
128
129
initial_retry_backoff_for_read_committed 2 Sets the initial backoff duration for automatic retries of statements in explicit READ COMMITTED transactions that encounter retry errors.
@@ -220,6 +221,7 @@ require_explicit_primary_keys off
220
221
results_buffer_size 524288 Specifies the size at which the pgwire results buffer will self-flush.
221
222
role none The current role for the session.
222
223
row_security on Controls whether row level security is enabled.
224
+
scram_iterations 10610 Reports the iteration count for SCRAM-SHA-256 password hashing.
223
225
search_path "$user", public Sets the list of namespaces to search when resolving unqualified names.
224
226
serial_normalization rowid Controls how `SERIAL` columns are normalized.
225
227
server_encoding UTF8 Reports the database encoding (always UTF8). This cannot be changed.
Copy file name to clipboardExpand all lines: pkg/sql/session_var_descriptions.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,7 @@ var sessionVarDescriptions = map[string]string{
106
106
"initial_retry_backoff_for_read_committed": "Sets the initial backoff duration for automatic retries of statements in explicit READ COMMITTED transactions that encounter retry errors.",
107
107
"inject_retry_errors_enabled": "Causes statements (except SET) inside explicit transactions to return a transaction retry error for testing application retry logic. If the client retries using the cockroach_restart savepoint, the transaction proceeds normally after the 3rd retry error.",
108
108
"inject_retry_errors_on_commit_enabled": "Causes statements inside explicit transactions to return a retry error just before transaction commit for testing retry logic.",
109
+
"in_hot_standby": "Reports whether the server is currently in hot standby mode (always off in CockroachDB).",
109
110
"integer_datetimes": "Reports whether integer datetime representation is used (always on).",
110
111
"internal": "Indicates whether this query came from InternalExecutor or an internal planner.",
111
112
"intervalstyle": "Controls the display format for `INTERVAL` values.",
@@ -187,6 +188,7 @@ var sessionVarDescriptions = map[string]string{
187
188
"parallelize_multi_key_lookup_joins_max_lookup_ratio": "Sets the maximum lookup ratio threshold for parallelizing multi-key lookup joins.",
188
189
"parallelize_multi_key_lookup_joins_only_on_mr_mutations": "Controls whether parallelization of multi-key lookup joins is restricted to multi-row mutations only.",
189
190
"password_encryption": "The encryption method used for passwords.",
191
+
"scram_iterations": "Reports the iteration count for SCRAM-SHA-256 password hashing.",
190
192
"pg_dump_compatibility": "Controls how CockroachDB presents metadata to external tools. Valid values: off (default), postgres (suppress CRDB-specific syntax for pg_dump compatibility), cockroachdb (show CRDB syntax explicitly).",
191
193
"pg_trgm.similarity_threshold": "Sets the value used to compare trigram similarities for the string % string overload.",
192
194
"plan_cache_mode": "Controls the method that the optimizer should use to choose between a custom and generic query plan.",
0 commit comments