[Tarantool-patches] [PATCH 4/5] sql: replace control pragmas by SET

Konstantin Osipov kostja.osipov at gmail.com
Wed Nov 27 14:39:17 MSK 2019


* Mergen Imeev <imeevma at tarantool.org> [19/11/27 14:27]:
> > But how are you going to fix it? By making SET statement powerful
> > enough to query a value or by making the sysview updatable?
> > 
> Since all settings are saved in a “struct session”, I
> think that I will use the same methods PRAGMA used. The
> system view reads from current_session(), so SET will
> also read from there.

OK, so you are going to allow SET to return an existing value,
without setting it. Then what is the point of having a view,
if you can both get and set the values using SET statement?

-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list