Skip to content

Commit d6ce220

Browse files
committed
psql fix.
1 parent e2f3205 commit d6ce220

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/bin/psql/psql.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.186 1999/07/19 16:49:17 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.187 1999/07/19 21:06:19 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2876,9 +2876,11 @@ main(int argc, char **argv)
28762876
pqsignal(SIGINT, handle_sigint); /* control-C => cancel */
28772877
#ifdef USE_READLINE
28782878
settings.useReadline = 1;
2879-
/* Set the application name, used for parsing .inputrc */
2880-
char *progname = strrchr(argv[0], SEP_CHAR);
2881-
rl_readline_name = (progname ? progname+1 : argv[0]);
2879+
{
2880+
/* Set the application name, used for parsing .inputrc */
2881+
char *progname = strrchr(argv[0], SEP_CHAR);
2882+
rl_readline_name = (progname ? progname+1 : argv[0]);
2883+
}
28822884
#endif
28832885
}
28842886
#ifdef PSQL_ALWAYS_GET_PASSWORDS

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy