diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-01-18 23:30:24 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-01-18 23:30:24 +0000 |
commit | f565cf41ab8d71df0f4bece5443679d249258b17 (patch) | |
tree | 0f7162c88a3aeecf00e8626b41f0ea4ad198cca7 /src/bin/psql/prompt.c | |
parent | 80c5fea99dc028f2726364ab18318dda3864d5a9 (diff) | |
download | postgresql-f565cf41ab8d71df0f4bece5443679d249258b17.tar.gz postgresql-f565cf41ab8d71df0f4bece5443679d249258b17.zip |
another set of cleanups
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!). *-------------------------- |