Tidy up boolean data type page

Lists: pgsql-docs
From: Thom Brown <thombrown(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Tidy up boolean data type page
Date: 2010-07-22 22:02:21
Message-ID: AANLkTimdvlkNK7MPeoxIYjWFqVM8AYRRJ0FM3BUNzM5-@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Hi all,

I wanted to clean up the boolean data type documentation page a bit,
so thought the following was needed:

- use a data type table like most of the other main data types so
it's more uniform (the the size of a boolean is only mentioned at the
very end and looks a bit odd, so removed that too)
- move the reference to the usage example to before the example
- minor text change in the first sentence so that it doesn't look
like it reads "boolean.boolean"

I've attached a patch with these changes, although feel free to list
the many reasons why this is a bad idea. ;)

Thanks

Thom

Attachment Content-Type Size
docs-boolean-type-tidy-up.patch text/x-patch 2.1 KB

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Tidy up boolean data type page
Date: 2010-07-24 12:18:08
Message-ID: 1279973888.22066.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On tor, 2010-07-22 at 23:02 +0100, Thom Brown wrote:
> Hi all,
>
> I wanted to clean up the boolean data type documentation page a bit,
> so thought the following was needed:
>
> - use a data type table like most of the other main data types so
> it's more uniform (the the size of a boolean is only mentioned at the
> very end and looks a bit odd, so removed that too)
> - move the reference to the usage example to before the example
> - minor text change in the first sentence so that it doesn't look
> like it reads "boolean.boolean"
>
> I've attached a patch with these changes, although feel free to list
> the many reasons why this is a bad idea. ;)

Looks good to me. Committed to 9.0 and 9.1.