Re: Refactoring in lock.c

From: Neil Conway <neilc(at)samurai(dot)com>
To: Alvaro Herrera <alvherre(at)surnet(dot)cl>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Refactoring in lock.c
Date: 2005-05-18 02:33:51
Message-ID: 428AA98F.8020209@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Alvaro Herrera wrote:
> Additionally, I found that no callers of LockReleaseAll and LockRelease
> had any use for their return values, so I made them return void.

Is there a reason we can't just elog(ERROR) rather than returning?

-Neil

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-05-18 04:47:57 Re: Bunch of tab-completion enhancements for psql
Previous Message Neil Conway 2005-05-18 02:11:17 Re: patches for items from TODO list