Re: Open items list for 8.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Open items list for 8.1
Date
Msg-id 6821.1127960570@sss.pgh.pa.us
Whole thread Raw
In response to Re: Open items list for 8.1  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> It was done quickly to complete it for beta2.  Neil talked to Tom and me
> about it before he made the change. Obviously we all guessed wrong on
> this one.

Personally I had forgotten that pg_cancel_backend was in the previous
release and so there was a backwards-compatibility issue to consider.
There's no doubt that a boolean return value is cleaner than an int
return value, but we don't ordinarily make non-backward-compatible
changes just because they're cleaner.  Comparable case: timeofday()
is still returning text not timestamptz after all these years, even
though that is *obviously* the wrong API, and even though we could
probably change it without a huge risk of breaking things.

As for the total-vs-complete function name business, I do personally
like "total" better, but the time to have been making that argument was
back during the original discussion, which itself went on way too long.
Renaming it now with relatively little discussion was definitely a
violation of our normal development process.  I'll take my fair share
of the blame for this, because I encouraged Neil to do it without
stopping to think that the names had already been hashed over
extensively.  But it was the wrong way to proceed.

In short, yeah, I think we should revert.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Found small issue with OUT params
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems