On 2019-Dec-06, Pavel Stehule wrote: > pá 6. 12. 2019 v 18:57 odesílatel Alvaro Herrera <alvhe...@2ndquadrant.com> > napsal:
> > (It seems a bit weird that if I assign NULL to :two pgbench stores the > > empty string, instead of the NULL that I get as in the above which is > > what happens when the variable is not defined at all. That's probably a > > bug in \gset ...) > > psql session variables cannot to hold NULL I also just learned that the :foo expansion in pgbench behaves crazily when in normal query mode, particularly re. quotes in variables. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services