OSDN Git Service

Another minor tweak to psql startup: set the default values for the PROMPT1,
authorNeil Conway <neilc@samurai.com>
Fri, 8 Oct 2004 11:24:19 +0000 (11:24 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 8 Oct 2004 11:24:19 +0000 (11:24 +0000)
commit9bf6effd8e78ed4cfed8f14d36d055e66943461e
treeb5b55e5fbd5c5912b2928c6b4b6672011ebf7af9
parent79a831e50a7020915c69defa360c206d669316bc
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.
src/bin/psql/startup.c