Re: Tab completion of SET TRANSACTION ISOLATION

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2006-02-01T06:23:34Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Some time ago, the tab completion code for the SET command was changed
> to read the list of available settings from the pg_settings table.
> This means that by the time you're done completing SET TRANSACTION
> ISOLATION, you've already sent a query and the command will be
> disallowed.

Of course, there's always Plan B: revert that patch and go back to
a hard-coded list of variable names.

			regards, tom lane