Skip to content

Commit 73c5393

Browse files
authored
on_reset.sql
1 parent 52e995b commit 73c5393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ Some databases allow you to clean up all the state associatPed with a connection
169169

170170
##### PostgreSQL
171171

172-
By creating a `sqlpage/on_disconnect.sql` file containing a [`DISCARD ALL`](https://www.postgresql.org/docs/current/sql-discard.html) statement.
172+
By creating a `sqlpage/on_reset.sql` file containing a [`DISCARD ALL`](https://www.postgresql.org/docs/current/sql-discard.html) statement.
173173

174174
```sql
175175
DISCARD ALL;
176176
```
177177

178178
##### SQL Server
179179

180-
By creating a `sqlpage/on_disconnect.sql` file containing a call to the [`sp_reset_connection`](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/system-stored-procedures-transact-sql?view=sql-server-ver16#api-system-stored-procedures) stored procedure.
180+
By creating a `sqlpage/on_reset.sql` file containing a call to the [`sp_reset_connection`](https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/system-stored-procedures-transact-sql?view=sql-server-ver16#api-system-stored-procedures) stored procedure.
181181

182182
```sql
183183
EXEC sp_reset_connection;

0 commit comments

Comments
 (0)