public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Rich Shepard <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Using psql's \prompt command
Date: Thu, 30 Jan 2025 14:50:06 -0700
Message-ID: <CAKFQuwbBrjF6Hx3zOo1p7=+ui=qeoZiK46-=Ov8JC=5GqvPe2A@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Thursday, January 30, 2025, Rich Shepard <[email protected]>
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.


view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Using psql's \prompt command
  In-Reply-To: <CAKFQuwbBrjF6Hx3zOo1p7=+ui=qeoZiK46-=Ov8JC=5GqvPe2A@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox