pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Mark Dilger <hornschnorter@gmail.com>
Cc: Regina Obe <lr@pcorp.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PostgreSQL 10 changes in exclusion constraints - did something change? CASE WHEN behavior oddity
Date: Mon, 12 Jun 2017 21:03:31 -0400
Message-ID: <21643.1497315811@sss.pgh.pa.us> (raw)
In-Reply-To: <20170613003228.2o7plhmcynzaubwz@alap3.anarazel.de>
References: <4125B63A-886A-442D-9932-34F0D4F76D41@gmail.com>
	<20170604193521.ha6d5kpkdswmissm@alap3.anarazel.de>
	<63850C96-9570-4969-8074-7033DA4C334F@gmail.com>
	<20170604211942.aiavcbagsho5owcz@alap3.anarazel.de>
	<FB5BA655-95A0-4EC5-900D-2582D3E98A74@gmail.com>
	<13450.1496861842@sss.pgh.pa.us>
	<25987.1496977553@sss.pgh.pa.us>
	<20170609032619.crv3skkf7tvzj63j@alap3.anarazel.de>
	<27103.1496979469@sss.pgh.pa.us>
	<5259.1497044025@sss.pgh.pa.us>
	<20170613003228.2o7plhmcynzaubwz@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@anarazel.de> writes:
> Possibly too hard to be precise enough in a hint, but a number of these
> could benefit from one suggesting moving things into FROM, using
> LATERAL.

Maybe "You might be able to move the set-returning function into a
LATERAL FROM item."?

> I'm kinda positively surprised at how non-invasive this turned out, I'd
> afraid there'd be a lot more verbosity to it.  I think the improved
> error messages (message & location), are quite worthwhile an their own.

Yeah, me too --- I'm pretty pleased with the result.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (30+ messages)  latest in thread

Message-ID: <21643.1497315811@sss.pgh.pa.us>
Permalink:  ../21643.1497315811@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21643.1497315811@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, hornschnorter@gmail.com, lr@pcorp.us
  Subject: Re: PostgreSQL 10 changes in exclusion constraints - did something change? CASE WHEN behavior oddity
  In-Reply-To: <21643.1497315811@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