Re: sparse (static analyzer) report - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: sparse (static analyzer) report
Date
Msg-id 20050115203808.GA32196@wolff.to
Whole thread Raw
In response to Re: sparse (static analyzer) report  (Greg Stark <gsstark@mit.edu>)
Responses Re: sparse (static analyzer) report  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: sparse (static analyzer) report  (Tommi Mäkitalo <t.maekitalo@epgmbh.de>)
List pgsql-hackers
On Sat, Jan 15, 2005 at 10:44:48 -0500, Greg Stark <gsstark@mit.edu> wrote:
> 
> 
> What I miss most in both C and Java is the lispish ability to write
> expressions like:
> 
>  foo = bar() || baz() || qux();

Are you sure that C doesn't guarenty short circuit evaluation?
I don't have my C reference handy, but my memory is that evaluation
will stop after the first function call that returns true in the
above expression.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FATAL: catalog is missing 1 attribute(s) for relid 16396
Next
From: "Marc G. Fournier"
Date:
Subject: Re: FATAL: catalog is missing 1 attribute(s) for relid