pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Determining table and column access based on query
Date: Tue, 13 Aug 2019 12:55:07 +0200
Message-ID: <bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net> (raw)
In-Reply-To: <E8E3817F-A27F-49CF-B46E-BB396B5E2C25@creamfinance.com>
References: <E8E3817F-A27F-49CF-B46E-BB396B5E2C25@creamfinance.com>

Thomas Rosenstein schrieb am 13.08.2019 um 12:17:
> we would like to evaluate what data a SQL query will access, is there
> a possibility to ask the Planner directly which tables and columns
> will be affected in the end?
> 

explain (verbose)  will show the output columns for each step. 

Is that what you are looking for? 







view thread (3+ messages)  latest in thread

Message-ID: <bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net>
Permalink:  ../bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net/
Also on:    postgresql.org/message-id/bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net

 · 

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-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Determining table and column access based on query
  In-Reply-To: <bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net>
  References: <E8E3817F-A27F-49CF-B46E-BB396B5E2C25@creamfinance.com> <bcb47eb2-1e4d-0d26-ae57-10322ca01446@gmx.net>

* 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