Re: Open items list for 8.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Open items list for 8.1
Дата
Msg-id 6821.1127960570@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Open items list for 8.1  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Found small issue with OUT params
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Proposed patch for sequence-renaming problems