Re: Does PostgreSQL have complete functional test cases?

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tianyin Xu <tixu(at)cs(dot)ucsd(dot)edu>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Craig Ringer <craig(at)2ndquadrant(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does PostgreSQL have complete functional test cases?
Date: 2012-11-09 02:40:48
Message-ID: 20121109024048.GI7225@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tianyin Xu wrote:
> Ok, I agree that "2147483647" is not a reasonable setting. But what's the
> definition of "reasonable"? I just want to study the impact of the setting
> so I test the big number first.

Please don't top-post.

Those values are not wrong. They just don't match what our current
testing framework expects. Whether the generated plans are sensible or
not is entirely another question; the queries should still return the
same resultsets. Ordering of tuples within the resultset shouldn't
matter, but the test framework is not smart enough to compare them
that way.

> When you give users the flexibility of configurations, you cannot say all
> the values mismatching with your expectations are not allowed. In fact the
> system allowed such settings.

Sure.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2012-11-09 02:50:42 Re: Does PostgreSQL have complete functional test cases?
Previous Message Scott Marlowe 2012-11-09 02:38:09 Re: Unexpectedly high disk space usage