Re: Vote needed: revert beta2 changes or not? - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Vote needed: revert beta2 changes or not?
Date
Msg-id 1128738298.8300.169.camel@localhost.localdomain
Whole thread Raw
In response to Vote needed: revert beta2 changes or not?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 2005-10-06 at 21:27 -0400, Tom Lane wrote:

> (b) pg_cancel_backend() was already in 8.0, and so changing it now
> represents an API break, for which being "a little cleaner" is not
> sufficient justification.

> 2.  Revert the result type of pg_cancel_backend() to int, but leave the
>     rest as-is (minimum change to avoid a compatibility break with 8.0).

Seems like the best way to go, without reading other posts.

ISTM one day somebody will want to return an error state other than
success/fail from that function and we would end up back here anyway.

Best Regards, Simon Riggs



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: Issue is changing _bt_compare function and
Next
From: Atsushi Ogawa
Date:
Subject: Reuse the dead item on unique index.