Re: Internal error with types changes and prepared statements

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Internal error with types changes and prepared statements
Date: 2021-09-22 18:32:05
Message-ID: CA+mi_8YvULoepYJtE2erVi0t4bMoqPHdfJxnndhtjfyK3Q3KZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 22 Sept 2021 at 20:27, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I'm inclined to shrug and say don't do that. We could perhaps
> track all the dependencies of a prepared statement as we do
> for views, but it would add a lot of overhead that's not there
> today, and for what? All we'd accomplish is to give a cleaner
> error message. I don't think people should expect the above
> to somehow work --- if it did, that would imply assorted
> security holes, because the statement would no longer mean
> what it meant before.

That's good for me, it gives a clear idea about what to do.

Thank you very much

-- Daniele

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2021-09-23 02:22:15 Re: BUG #17197: Assert failed on inserting index tuples after VACUUM
Previous Message Tom Lane 2021-09-22 18:27:41 Re: Internal error with types changes and prepared statements