Re: Using psql's \prompt command - Mailing list pgsql-general

From Rich Shepard
Subject Re: Using psql's \prompt command
Date
Msg-id 6617ae2-214c-28d6-7b67-5071ec2bae57@appl-ecosys.com
Whole thread Raw
In response to Re: Using psql's \prompt command  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Using psql's \prompt command [RESOLVED]
List 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



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Using psql's \prompt command
Next
From: Rich Shepard
Date:
Subject: Re: Using psql's \prompt command [RESOLVED]