Thread: BUG #5636: extra "(" or missing ")"

BUG #5636: extra "(" or missing ")"

From
"KOIZUMI Satoru"
Date:
The following bug has been logged online:

Bug reference:      5636
Logged by:          KOIZUMI Satoru
Email address:      koizumistr@minos.ocn.ne.jp
PostgreSQL version: 9.0RC1
Operating system:   MacOS X
Description:        extra "(" or missing ")"
Details:

At 33.8.5. The decimal type of PostgreSQL 9.0RC1 Documentation, "(" is
before "by means".
But there is no ")".
| the decimal type can be created either on the stack
| or on the heap (by means of the functions
| PGTYPESdecimal_new() and PGTYPESdecimal_free().

Maybe "(" is not needed or ")" is needed after "PGTYPESdecimal_free()".

Re: BUG #5636: extra "(" or missing ")"

From
Tom Lane
Date:
"KOIZUMI Satoru" <koizumistr@minos.ocn.ne.jp> writes:
> At 33.8.5. The decimal type of PostgreSQL 9.0RC1 Documentation, "(" is
> before "by means".
> But there is no ")".
> | the decimal type can be created either on the stack
> | or on the heap (by means of the functions
> | PGTYPESdecimal_new() and PGTYPESdecimal_free().

Fixed.  It seemed to me the best way was to remove the ()'s from the
function names, since that style is used elsewhere, eg in the
description of ecpg's numeric type.

            regards, tom lane