On Thu, 30 Jan 2025, David G. Johnston wrote:

That is what \prompt is for. You have the correct meta-command, you were
capturing user input just fine. Read about how to use variables in
queries for the part you are missing.


Specifically the section of the psql docs titled:

SQL Interpolation

Thanks again, David. I didn't know that's the section I need.

Much appreciated,

Rich


Reply via email to