pg.ddx.io  pgsql-bugs@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: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: LLVM jit and matview
Date: Wed, 25 Jul 2018 18:59:51 -0400
Message-ID: <14398.1532559591@sss.pgh.pa.us> (raw)
In-Reply-To: <20180725221358.avh27sxrmiqej3lk@alap3.anarazel.de>
References: <20180725214702.6v7jxi2zkcv3exar@alap3.anarazel.de>
	<20180725221113.q5bsc2qqnhbghxtt@alvherre.pgsql>
	<20180725221358.avh27sxrmiqej3lk@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2018-07-25 18:11:13 -0400, Alvaro Herrera wrote:
>> But what would be the advantage of avoiding the context release inside
>> FreeExecutorState?  It seems pretty appropriate to me to do it there.
>> You could argue that the JIT context is definitely part of the estate
>> being freed.  Just amend the comment, no?

> I agree it's right to do it there.  I think I'm more questioning whether
> there's even a need to adapt the comment, given it's really a local
> memory resource. But I guess I'll just add a 'and ...' after
> "ExprContexts within the EState".

+1.  Clarity is good.

			regards, tom lane




view thread (12+ messages)  latest in thread

Message-ID: <14398.1532559591@sss.pgh.pa.us>
Permalink:  ../14398.1532559591@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14398.1532559591@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, alvherre@2ndquadrant.com, 9erthalion6@gmail.com, michael@paquier.xyz, pgsql-hackers@postgresql.org
  Subject: Re: LLVM jit and matview
  In-Reply-To: <14398.1532559591@sss.pgh.pa.us>
  References: <20180725214702.6v7jxi2zkcv3exar@alap3.anarazel.de> <20180725221113.q5bsc2qqnhbghxtt@alvherre.pgsql> <20180725221358.avh27sxrmiqej3lk@alap3.anarazel.de> <14398.1532559591@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