diff options
Diffstat (limited to 'src/bin/psql/prompt.c')
-rw-r--r-- | src/bin/psql/prompt.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/psql/prompt.c b/src/bin/psql/prompt.c index d93f5611ced..f9d6cc098ea 100644 --- a/src/bin/psql/prompt.c +++ b/src/bin/psql/prompt.c @@ -1,3 +1,10 @@ +/* + * psql - the PostgreSQL interactive terminal + * + * Copyright 2000 by PostgreSQL Global Development Team + * + * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.6 2000/01/18 23:30:24 petere Exp $ + */ #include <c.h> #include "prompt.h" @@ -22,7 +29,7 @@ * get_prompt * * Returns a statically allocated prompt made by interpolating certain - * tcsh style escape sequences into pset->vars "PROMPT1|2|3". + * tcsh style escape sequences into pset.vars "PROMPT1|2|3". * (might not be completely multibyte safe) * * Defined interpolations are: @@ -49,7 +56,6 @@ * %$name$ - The value of the psql variable 'name' * (those will not be rescanned for more escape sequences!) * - * * If the application-wide prompts became NULL somehow, the returned string * will be empty (not NULL!). *-------------------------- |