continuation character for meta commands in psql

From: Matt Zagrabelny <mzagrabe(at)d(dot)umn(dot)edu>
To: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: continuation character for meta commands in psql
Date: 2020-01-24 17:42:47
Message-ID: CAOLfK3U=PAqYoHLWWD=deXDbAnqEv_J13vcZ6Mc_RDakwC1E9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings,

I've searched the internet and also the pgsql-general list for an answer to
this question, but couldn't find one.

Is there a continuation character for meta commands in psql?

I've seen mention that a caret (^) could be used, but it didn't work
correctly and the psql man page makes no mention of it.

I'd like to do something like:

\set PROMPT1 'long prompt code' \
'other long prompt configurations' \
'and more still'

in my .psqlrc file.

What do you folks think?

Thanks for any help or guidance!

-m

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-01-24 17:45:34 Re: continuation character for meta commands in psql
Previous Message Adrian Klaver 2020-01-24 17:39:51 Re: Time zone "GST" not recognized.