diff options
Diffstat (limited to 'src/bin/psql/variables.c')
-rw-r--r-- | src/bin/psql/variables.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/variables.c b/src/bin/psql/variables.c index da13cb78d71..26b9f8b925d 100644 --- a/src/bin/psql/variables.c +++ b/src/bin/psql/variables.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/variables.c,v 1.23 2006/03/05 15:58:52 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/variables.c,v 1.24 2006/06/14 16:49:03 tgl Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -127,7 +127,11 @@ PrintVariables(VariableSpace space) struct _variable *ptr; for (ptr = space->next; ptr; ptr = ptr->next) + { printf("%s = '%s'\n", ptr->name, ptr->value); + if (cancel_pressed) + break; + } } bool |