Skip site navigation (1) Skip section navigation (2)

Doc bug

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Doc bug
Date: 2006-12-20 10:54:39
Message-ID: 65937bea0612200254t7240c44q40a66326a71bcefe@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
The documentation at
http://www.postgresql.org/docs/8.2/interactive/config-setting.html states
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,

-- 
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com

Responses

  • Re: Doc bug at 2006-12-31 03:32:48 from Gurjeet Singh

pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2006-12-20 11:03:11
Subject: Re: [HACKERS] Enums patch v2
Previous:From: Alban HertroysDate: 2006-12-20 09:06:04
Subject: Re: Autovacuum Improvements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group