From: | Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it> |
---|---|
To: | hackers(at)postgreSQL(dot)org (PostgreSQL Hackers), maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian) |
Subject: | new patch |
Date: | 1999-06-13 20:01:16 |
Message-ID: | 199906132001.WAA00565@nikita.wizard.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
*** src/bin/psql/psql.c.orig Sat Jun 5 09:00:38 1999
--- src/bin/psql/psql.c Sun Jun 13 10:34:05 1999
***************
*** 2875,2880 ****
--- 2875,2887 ----
pqsignal(SIGINT, handle_sigint); /* control-C => cancel */
#ifdef USE_READLINE
settings.useReadline = 1;
+ {
+ /*
+ * Set the application name, used for parsing .inputrc -- dz
+ */
+ char *progname = rindex(argv[0], SEP_CHAR);
+ rl_readline_name = (progname ? progname : argv[0]);
+ }
#endif
}
#ifdef PSQL_ALWAYS_GET_PASSWORDS
--
Massimo Dal Zotto
+----------------------------------------------------------------------+
| Massimo Dal Zotto email: dz(at)cs(dot)unitn(dot)it |
| Via Marconi, 141 phone: ++39-0461534251 |
| 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ |
| Italy pgp: finger dz(at)tango(dot)cs(dot)unitn(dot)it |
+----------------------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-06-13 20:09:42 | Re: [HACKERS] COPY bug? |
Previous Message | David R. Favor | 1999-06-13 15:56:35 | PostgreSQL 6.5beta 3 broken - typeidTypeRelid error |