pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Re: CASE
Date: Tue, 8 Apr 2003 20:57:59 +1000
Message-ID: <20030408105759.M33127@oasis.net.au> (raw)
In-Reply-To: <20030408094039.GS1712@pirmabanka.lv>
References: <3E928853.7090801@oasis.net.au>
	<20030408094039.GS1712@pirmabanka.lv>

Victor,

Thanks for your time ..

When casting inside a COALESCE function should it be something like:

WHEN COALESCE( MAX(e.edate),'2003-01-01'::date ) >= now()::date THEN 'events'

instead of:

WHEN COALESCE( MAX(e.edate),'2003-01-01') >= now()::date THEN 'events'

Regards
Rudi




view thread (20+ messages)  latest in thread

Message-ID: <20030408105759.M33127@oasis.net.au>
Permalink:  ../20030408105759.M33127@oasis.net.au/
Also on:    postgresql.org/message-id/20030408105759.M33127@oasis.net.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rudi@oasis.net.au
  Subject: Re: CASE
  In-Reply-To: <20030408105759.M33127@oasis.net.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox