Re: Vote needed: revert beta2 changes or not?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vote needed: revert beta2 changes or not?
Дата
Msg-id 4990.1128700610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vote needed: revert beta2 changes or not?  ("Dave Page" <dpage@vale-housing.co.uk>)
Ответы Re: Vote needed: revert beta2 changes or not?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Vote needed: revert beta2 changes or not?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: Vote needed: revert beta2 changes or not?  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Re: Vote needed: revert beta2 changes or not?  (Rod Taylor <pg@rbt.ca>)
Список pgsql-hackers
"Dave Page" <dpage@vale-housing.co.uk> writes:
>> Also they 
>> don't need to modify 
>> scripts, can't they just write thier own pg_cacnel_backend to 
>> return int 
>> based on the boolean version?

> No, because you can't overload based purely on return type. I suppose
> they could write it to take an int8 pid or something, but that's a hack.

Well, how many people want to vote for Andreas' suggestion of having
both
int pg_cancel_backend(int)bool pg_backend_cancel(int)

with the former deprecated but still there for backward compatibility?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Vote needed: revert beta2 changes or not?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Vote needed: revert beta2 changes or not?