Re: BUG #2790: constructor for int2vector seems to be buggy - Mailing list pgsql-bugs

From Gurjeet Singh
Subject Re: BUG #2790: constructor for int2vector seems to be buggy
Date
Msg-id 65937bea0611280719w44363bd9va28f1fb7559226e0@mail.gmail.com
Whole thread Raw
In response to Re: BUG #2790: constructor for int2vector seems to be buggy  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 11/28/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> The syntax is space-separated integers; where did you get the idea to
> use commas?


I donno... I just tried and it worked. But silently ignoring invalid
input...!!???

Potential bug's symptoms:
<quote from=http://www.postgresql.org/docs/current/static/bug-reporting.html
>
A program accepts invalid input without a notice or error message. But keep
in mind that your idea of invalid input might be our idea of an extension or
compatibility with traditional practice.
</quote>

Or is it a 'extension or compatibility with traditional practice'?

BTW, is int2vector really documented? I also found that abstime() works, but
couldn't find any documentation for it! (except for \df abstime)

Regards,

--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2790: constructor for int2vector seems to be buggy
Next
From: "pat hayes"
Date:
Subject: Re: BUG #2785: Exception Issue