From 927d61eeff78363ea3938c818d07e511ebaf75cf Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 10 Jun 2012 15:20:04 -0400 Subject: Run pgindent on 9.2 source tree in preparation for first 9.3 commit-fest. --- src/bin/psql/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bin/psql/input.c') 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; -- cgit v1.2.3