Variables in psql, how to use them?

from blog select * from depesz;, | ↗ original
psql, the database client for PostgreSQL has, since forever, support for variables. These let you write certain queries in a way that is safe even when getting params from “outside". Let's see what can be done with it… To use them, we first need to know how to set them. For this, we have multiple … Continue reading "Variables in psql, how to use...