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: (view raw or whole thread)
Lists: pgsql-hackers
The documentation at states

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

'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,

singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com


  • 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-2015 The PostgreSQL Global Development Group