Re: Proposal: pg_is_volatile function - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Proposal: pg_is_volatile function
Date
Msg-id CAFj8pRCou4mjXCHs4dRfq-45jL+PQk+74QSH=n2oVEQrXO6usw@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: pg_is_volatile function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi


What we have speculated about in the past is extending EXPLAIN
so that it can be applied to ALTER TABLE and other complicated
utility commands, and then for ALTER TABLE one bit of info it would
give you is whether a table rewrite (or even a table scan) is
required.  Obviously, that's a major project, and so nobody's
tackled it yet AFAIK.

I though same idea, using EXPLAIN for this purpose can be nice and intuitive

Regards

Pavel

 

                        regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improvement of var_eq_non_const()
Next
From: "Devulapalli, Raghuveer"
Date:
Subject: RE: Improve CRC32C performance on SSE4.2