On Sun, Nov 17, 2024 at 3:10 AM Max Ulidtko <ulid...@gmail.com> wrote:

> I assumed that $1 would get substituted *at query time*
>

The "select" portion of a "create view" query does not get executed during
processing of "create view" and it is the "select" execution part of the
executor code that performs parameter substitution.  IOW, "at query time"
never actually happens, the query is only considered as a literal to be
parsed.

David J.

Reply via email to