Another minor tweak to psql startup: set the default values for the PROMPT1,

Neil Conway <neilc@samurai.com>

Commit: 9bf6effd8e78ed4cfed8f14d36d055e66943461e
Author: Neil Conway <neilc@samurai.com>
Date: 2004-10-08T11:24:19Z
Releases: 8.0.0
Another minor tweak to psql startup: set the default values for the PROMPT1,
PROMPT2 and PROMPT3 variables before we read any of the settings specified
via the user on the command-line or in psqlrc, so that the latter can
override the former. Per original patch from Ingo van Lil, simpler fix
suggested by Tom Lane.

Files

PathChange+/−
src/bin/psql/startup.c modified +6 −7