Skip to content

Commit

Permalink
Fix similar to syntax and wording of current_transaction, current_con…
Browse files Browse the repository at this point in the history
…nection

Copied from ddf22cc
  • Loading branch information
mrotteveel committed May 22, 2021
1 parent 79b7289 commit c074be1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Expand Up @@ -1084,7 +1084,7 @@ Feel free to skip it and read the next section, <<fblangref40-commons-buildregex
<escaped character> ::=
<escape-char> <special character> | <escape-char> <escape-char>
<special character> ::= _any of the characters **[]()|^-+*%_?{**_
<special character> ::= __any of the characters **[]()|^-+*%\_?{}**__
<non-escaped character> ::=
_any character that is not a <special character>_
Expand Down
Expand Up @@ -18,10 +18,8 @@ CURRENT_CONNECTION

`CURRENT_CONNECTION` contains the unique identifier of the current connection.

The value of `CURRENT_CONNECTION` is stored on the database header page and reset to 0 upon restore.
Since version 2.1, it is incremented upon every new connection.
(In previous versions, it was only incremented if the client read it during a session.)
As a result, `CURRENT_CONNECTION` now indicates the number of connections since the creation -- or most recent restoration -- of the database.
Its value is derived from a counter on the database header page, which is incremented for each new connection.
When a database is restored, this counter is reset to zero.

.Examples
[source]
Expand Down Expand Up @@ -252,8 +250,8 @@ CURRENT_TRANSACTION

`CURRENT_TRANSACTION` contains the unique identifier of the current transaction.

The value of `CURRENT_TRANSACTION` is stored on the database header page and reset to 0 upon restore.
It is incremented with every new transaction.
Its value is derived from a counter on the database header page, which is incremented for each new transaction.
When a database is restored, this counter is reset to zero.

.Examples
[source]
Expand Down

0 comments on commit c074be1

Please sign in to comment.