Re: Using psql's \prompt command

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using psql's \prompt command
Date: 2025-01-30 23:00:44
Message-ID: 6617ae2-214c-28d6-7b67-5071ec2bae57@appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2025-01-30 23:35:04 Re: Using psql's \prompt command [RESOLVED]
Previous Message David G. Johnston 2025-01-30 22:47:45 Re: Using psql's \prompt command