expr ? trueval : falseval

From: Brett McCormick <brett(at)work(dot)chicken(dot)org>
To: pgsql-hackers(at)hub(dot)org
Subject: expr ? trueval : falseval
Date: 1998-03-20 08:07:03
Message-ID: 13586.9001.942044.691129@abraxas.scene.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


expr ? trueval : falseval

if expr evaluated is true, the entire expression is trueval evaluated,
otherwise it is falseval evaluated.

Is it possible to have this sort of grammar logic in the parser?

--brett

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-03-20 08:43:43 Re: [HACKERS] tonight's mega-patch
Previous Message Edmund Mergl 1998-03-20 06:23:23 Re: [HACKERS] Bug in DBD::Pg v0.69?