pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Huxton <dev@archonet.com>
Cc: Emil Rachovsky <zsevgymko@yahoo.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: problem with overloading the "coalesce" function
Date: Mon, 06 Mar 2006 21:39:18 -0500
Message-ID: <12236.1141699158@sss.pgh.pa.us> (raw)
In-Reply-To: <440C1D34.6060308@archonet.com>
References: <20060306111333.83983.qmail@web54306.mail.yahoo.com>
	<440C1D34.6060308@archonet.com>

Richard Huxton <dev@archonet.com> writes:
> Hmm - looking at the source (and \df in psql) it seems the basic problem 
> is that COALESCE() isn't a function.

If it were an ordinary function, it couldn't satisfy the property of not
evaluating "unused" arguments ...

			regards, tom lane



view thread (5+ messages)

Message-ID: <12236.1141699158@sss.pgh.pa.us>
Permalink:  ../12236.1141699158@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12236.1141699158@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, dev@archonet.com, zsevgymko@yahoo.com, pgsql-general@postgresql.org
  Subject: Re: problem with overloading the "coalesce" function
  In-Reply-To: <12236.1141699158@sss.pgh.pa.us>

* 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