Hi Jim, The code has been fixed by Bruce in response to my bug#2851 ( http://archives.postgresql.org/pgsql-bugs/2006-12/msg00191.php).
BTW, I don't know how to make sure that the effect of a doc patch looks fine in a browser. I mean, how to view the doc/src/sgml/*.sgml in a browser, nicely formatted as we see on our website! I wish PostgreSQL community a very Happy New Year... Go ahead and give closed-source a tough time :) -- [EMAIL PROTECTED] [EMAIL PROTECTED] gmail | hotmail | yahoo }.com On 12/31/06, Jim C. Nasby <[EMAIL PROTECTED]> wrote:
Dunno if you did this or not, I'd suggest sending a patch to -docs. On Wed, Dec 20, 2006 at 04:24:39PM +0530, Gurjeet Singh wrote: > The documentation at > http://www.postgresql.org/docs/8.2/interactive/config-setting.htmlstates > that: > > Boolean values may be written as ON, OFF, TRUE, FALSE, YES, NO, 1, 0 (all > case-insensitive) or any unambiguous prefix of these. > > But the following doesn't work: > > postgres=# set enable_seqscan = of; > ERROR: parameter "enable_seqscan" requires a Boolean value > postgres=# > > 'of' is an unambiguous prefix of OFF, but it clearly doesn't work. Is it the > documentation that needs fix or is it the code? > > I tried the following too: > > set enable_seqscan = "of"; -- doesn't work > set enable_seqscan = "off"; -- works > > BTW, I tried TR, TRU, FA, FAL, FALS, YE. They all work fine. > > Best regards, > > -- > [EMAIL PROTECTED] > [EMAIL PROTECTED] gmail | hotmail | yahoo }.com -- Jim Nasby [EMAIL PROTECTED] EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)