Re: get rid of psql welcome message
От | Alvaro Herrera |
---|---|
Тема | Re: get rid of psql welcome message |
Дата | |
Msg-id | 20080419172347.GA6035@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: get rid of psql welcome message (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: get rid of psql welcome message
|
Список | pgsql-hackers |
Peter Eisentraut wrote: > --- 326,337 ---- > printf(_("Welcome to %s %s, the PostgreSQL interactive terminal.\n\n"), > pset.progname, PG_VERSION); > > ! if (!(var_welcome_message && strcmp(var_welcome_message, "terse") == 0)) > ! printf(_("Type: \\copyright for distribution terms\n" > ! " \\h for help with SQL commands\n" > ! " \\? for help with psql commands\n" > ! " \\g or terminate with semicolon to execute query\n" > ! " \\q to quit\n\n")); Hmm, how about: 1. removing the \copyright line 2. removing \h and \? in favor of mentioning the new "help" command So it would look like: Type: "help" to obtain usage information\g or terminate with semicolon to execute query\q to quit -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: