pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyle <kyle@Actarg.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Update
Date: Thu, 12 Apr 2001 23:03:29 -0400
Message-ID: <2092.987131009@sss.pgh.pa.us> (raw)
In-Reply-To: <3ACF5E6C.51106D1C@actarg.com>
References: <3ACF5E6C.51106D1C@actarg.com>

Kyle <kyle@Actarg.com> writes:
> It appears that the first function would get evaluated first under 7.0.3
> but the last function gets evaluated first under 7.1.  Is that accurate?

Actually, I was under the impression that (all else being equal) WHERE
clauses would get evaluated right-to-left in 7.0.* as well.  I was
meaning to figure out where the clause order reversal is happening and
undo it, but didn't get around to it for 7.1.

> Is there a way to control which functions are given precidence?

Nope, not at the moment.  The code has remnants of a notion of cost of
evaluation for functions, but it's not being used for anything ...

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <2092.987131009@sss.pgh.pa.us>
Permalink:  ../2092.987131009@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2092.987131009@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kyle@Actarg.com
  Subject: Re: Update
  In-Reply-To: <2092.987131009@sss.pgh.pa.us>
  References: <3ACF5E6C.51106D1C@actarg.com> <2092.987131009@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