From 5eb29fea25b9ff92a64d9f56580c125cab183ebf Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 1 Feb 2006 00:03:09 +0000
Subject: [PATCH] Add:

>
> 	o Prevent tab completion of SET TRANSACTION from querying the
> 	  database and therefore preventing the transaction isolation
> 	  level from being set.
>
> 	  Currently, SET <tab> causes a database lookup to check all
> 	  supported session variables.  This query causes problems
> 	  because setting the transaction isolation level must be the
> 	  first statement of a transaction.
---
 doc/TODO              | 11 ++++++++++-
 doc/src/FAQ/TODO.html | 10 +++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/doc/TODO b/doc/TODO
index cf1d3bbaff8..7580eb7c9be 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -2,7 +2,7 @@
 PostgreSQL TODO List
 ====================
 Current maintainer:	Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated:		Wed Jan 25 21:50:11 EST 2006
+Last updated:		Tue Jan 31 19:03:09 EST 2006
 
 The most recent version of this document can be viewed at
 http://www.postgresql.org/docs/faqs.TODO.html.
@@ -616,6 +616,15 @@ Clients
 
 	  Consider using auto-expanded mode for backslash commands like \df+.
 
+	o Prevent tab completion of SET TRANSACTION from querying the
+	  database and therefore preventing the transaction isolation
+	  level from being set.
+
+	  Currently, SET <tab> causes a database lookup to check all
+	  supported session variables.  This query causes problems
+	  because setting the transaction isolation level must be the
+	  first statement of a transaction.
+
 
 * pg_dump
 
diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html
index 7befad9ef09..ee688c2ab9d 100644
--- a/doc/src/FAQ/TODO.html
+++ b/doc/src/FAQ/TODO.html
@@ -8,7 +8,7 @@
 <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
 <h1><a name="section_1">PostgreSQL TODO List</a></h1>
 <p>Current maintainer:     Bruce Momjian (<a href="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
-Last updated:           Wed Jan 25 21:50:11 EST 2006
+Last updated:           Tue Jan 31 19:03:09 EST 2006
 </p>
 <p>The most recent version of this document can be viewed at<br/>
 <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -558,6 +558,14 @@ first.
     </li><li>Add auto-expanded mode so expanded output is used if the row
           length is wider than the screen width.  
 <p>          Consider using auto-expanded mode for backslash commands like \df+.
+</p>
+    </li><li>Prevent tab completion of SET TRANSACTION from querying the
+          database and therefore preventing the transaction isolation
+          level from being set.
+<p>          Currently, SET &lt;tab&gt; causes a database lookup to check all
+          supported session variables.  This query causes problems
+          because setting the transaction isolation level must be the
+          first statement of a transaction.
 </p>
   </li></ul>
   </li><li>pg_dump
-- 
GitLab