Re: Vote needed: revert beta2 changes or not?

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Vote needed: revert beta2 changes or not?
Date: 2005-10-08 02:24:58
Message-ID: 1128738298.8300.169.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Atsushi Ogawa 2005-10-08 03:32:28 Reuse the dead item on unique index.
Previous Message Sean Utt 2005-10-08 02:16:18 pg_dump option to dump only functions