From 6378fdd971eccc2ad4acd015b8e1baa27e0910a6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 25 Apr 2006 14:09:21 +0000 Subject: Add RESET CONNECTION, to reset all aspects of a session. Hans-J?rgen Sch?nig --- doc/src/sgml/ref/reset.sgml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/reset.sgml b/doc/src/sgml/ref/reset.sgml index e94ad782cc9..42975740ac8 100644 --- a/doc/src/sgml/ref/reset.sgml +++ b/doc/src/sgml/ref/reset.sgml @@ -1,5 +1,5 @@ @@ -11,7 +11,8 @@ PostgreSQL documentation RESET - restore the value of a run-time parameter to the default value + restore the value of a run-time parameter to the default value, + or reset all aspects of a session @@ -22,6 +23,7 @@ PostgreSQL documentation RESET name RESET ALL +RESET CONNECTION @@ -50,8 +52,11 @@ SET parameter TO DEFAULT See the SET reference page for details on the - transaction behavior of RESET. + transaction behavior of RESET. RESET + CONNECTION can be used to reset all aspects of + a session, not just parameter values. + @@ -76,7 +81,20 @@ SET parameter TO DEFAULT + + + CONNECTION + + + Reset the all aspects of a session, including runtime parameters, + transaction status, temporary tables, WITH HOLD + cursors, prepared statements, and LISTEN + registrations. + + + + -- cgit v1.2.3