[psql] Setting the PROMPT on command line - Mailing list pgsql-patches

From Ingo van Lil
Subject [psql] Setting the PROMPT on command line
Date
Msg-id 20041007000422.GA15255@marvin.csn.tu-chemnitz.de
Whole thread Raw
Responses Re: [psql] Setting the PROMPT on command line  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Hi there,

I wrote a tiny patch to prevent psql from overwriting the PROMPT[1-3]
variables with default values after parsing the command line. That way
the prompt can be set from the command line by using:

psql -v PROMPT1=...

The patch is against postgres 7.4.5, but it's so trivial it should be
possible to apply it to CVS without changes.

        Cheers,
            Ingo


Attachment

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: document "rep; no" black magic
Next
From: Neil Conway
Date:
Subject: Re: s_lock_test build fix