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

From David G. Johnston
Subject Re: Using psql's \prompt command
Date
Msg-id CAKFQuwbBrjF6Hx3zOo1p7=+ui=qeoZiK46-=Ov8JC=5GqvPe2A@mail.gmail.com
Whole thread Raw
In response to Using psql's \prompt command  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Using psql's \prompt command
List pgsql-general
On Thursday, January 30, 2025, Rich Shepard <rshepard@appl-ecosys.com> wrote:

What's the correct syntax for the \prompt?

Prompt isn’t your issue.  Prompt stores the value into a variable.  Read how to reference variables in a psql script.

David J.

pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Using psql's \prompt command
Next
From: Rich Shepard
Date:
Subject: Re: Using psql's \prompt command