diff options
author | Bruce Momjian <bruce@momjian.us> | 2012-06-10 15:20:04 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2012-06-10 15:20:04 -0400 |
commit | 927d61eeff78363ea3938c818d07e511ebaf75cf (patch) | |
tree | 2f0bcecf53327f76272a8ce690fa62505520fab9 /src/bin/psql/input.c | |
parent | 60801944fa105252b48ea5688d47dfc05c695042 (diff) |
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
Diffstat (limited to 'src/bin/psql/input.c')
-rw-r--r-- | src/bin/psql/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c index 880e7e6511d..1a446e2afef 100644 --- a/src/bin/psql/input.c +++ b/src/bin/psql/input.c @@ -288,7 +288,8 @@ initializeInput(int flags) if (histfile == NULL) { - char * envhist; + char *envhist; + envhist = getenv("PSQL_HISTORY"); if (envhist != NULL && strlen(envhist) > 0) histfile = envhist; |