pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedDetermining table and column access based on query
3+ messages / 2 participants
[nested] [flat]
* Determining table and column access based on query
@ 2019-08-13 10:17 Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
2019-08-13 10:55 ` Re: Determining table and column access based on query Thomas Kellerer <spam_eater@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Rosenstein @ 2019-08-13 10:17 UTC (permalink / raw)
To: pgsql-general
Hi,
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?
Thanks
Thomas
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Determining table and column access based on query
2019-08-13 10:17 Determining table and column access based on query Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
@ 2019-08-13 10:55 ` Thomas Kellerer <spam_eater@gmx.net>
2019-08-13 11:15 ` Re: Determining table and column access based on query Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Kellerer @ 2019-08-13 10:55 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Determining table and column access based on query
2019-08-13 10:17 Determining table and column access based on query Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
2019-08-13 10:55 ` Re: Determining table and column access based on query Thomas Kellerer <spam_eater@gmx.net>
@ 2019-08-13 11:15 ` Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Rosenstein @ 2019-08-13 11:15 UTC (permalink / raw)
To: Thomas Kellerer <spam_eater@gmx.net>; +Cc: pgsql-general@lists.postgresql.org
Actually yes, thanks
Was just blind when checking EXPLAIN :D
On 13 Aug 2019, at 12:55, Thomas Kellerer wrote:
> 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?
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-08-13 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 10:17 Determining table and column access based on query Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
2019-08-13 10:55 ` Thomas Kellerer <spam_eater@gmx.net>
2019-08-13 11:15 ` Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
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