Re: coalesce

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Henry Drexler <alonup8tb(at)gmail(dot)com>, Kevin Grittner <kevin(dot)grittner(at)wicourts(dot)gov>, Pg Docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: coalesce
Date: 2011-10-05 01:04:03
Message-ID: 201110050104.p95143V02802@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Alvaro Herrera wrote:
>
> Excerpts from Henry Drexler's message of mi sep 21 12:50:18 -0300 2011:
> > thanks,
> >
> > so I take it I am not getting those more complex examples (that are
> > apparently beyond my use case), I will take a look at them again.
>
> Maybe the fix is just to add a simpler example, without altering the
> wording (which seems pretty clear to me as well, but then I already know
> what COALESCE does).

The current example is:

SELECT COALESCE(description, short_description, '(none)') ...

What would a simpler one look like?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-10-05 01:47:15 Re: coalesce
Previous Message Dmitriy Igrishin 2011-09-27 13:13:36 PQconninfoParse()