pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jay Levitt <jay.levitt@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Predicates not getting pushed into SQL function?
Date: Mon, 07 Nov 2011 15:15:23 -0500
Message-ID: <4EB83C5B.3020103@gmail.com> (raw)
In-Reply-To: <4EB83BF7.4070905@gmail.com>
References: <4EB2D3CB.7020708@gmail.com>
	<6646.1320345676@sss.pgh.pa.us>
	<4EB2E251.90906@gmail.com>
	<11061.1320352516@sss.pgh.pa.us>
	<4EB83BF7.4070905@gmail.com>

Jay Levitt wrote:
> Yes, that patch works great! Oddly enough, the workaround now does NOT work;
> functions returning SETOF named composite types don't get inlined, but
> functions returning the equivalent TABLE do get inlined. Let me know if you
> need a failcase, but the bug doesn't actually affect me now :)

Never mind... I left a "strict" in my test.  Works great all around.



view thread (6+ messages)

Message-ID: <4EB83C5B.3020103@gmail.com>
Permalink:  ../4EB83C5B.3020103@gmail.com/
Also on:    postgresql.org/message-id/4EB83C5B.3020103@gmail.com

 · 

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-performance@postgresql.org
  Cc: jay.levitt@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Predicates not getting pushed into SQL function?
  In-Reply-To: <4EB83C5B.3020103@gmail.com>

* 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