mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 15:02:33 +03:00
Previously, you could do \set variable operand1 operator operand2, but nothing more complicated. Now, you can \set variable expression, which makes it much simpler to do multi-step calculations here. This also adds support for the modulo operator (%), with the same semantics as in C. Robert Haas and Fabien Coelho, reviewed by Álvaro Herrera and Stephen Frost
2.5 KiB
2.5 KiB