Re: Refactoring in lock.c - Mailing list pgsql-patches

From Neil Conway
Subject Re: Refactoring in lock.c
Date
Msg-id 428AA98F.8020209@samurai.com
Whole thread Raw
In response to Refactoring in lock.c  (Alvaro Herrera <alvherre@surnet.cl>)
Responses Re: Refactoring in lock.c
List 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

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Refactoring in lock.c
Next
From: Neil Conway
Date:
Subject: Re: Bunch of tab-completion enhancements for psql