expr ? trueval : falseval - Mailing list pgsql-hackers

From Brett McCormick
Subject expr ? trueval : falseval
Date
Msg-id 13586.9001.942044.691129@abraxas.scene.com
Whole thread Raw
Responses Re: [HACKERS] expr ? trueval : falseval  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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

pgsql-hackers by date:

Previous
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] Buffer overuns with the Electric fence debugging library
Next
From: Coronach
Date:
Subject: psql nested queries with 2000+ records