mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Update psql display.
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| <!-- | <!-- | ||||||
| $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.15 1999/11/05 00:57:39 momjian Exp $ | $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.16 1999/11/05 15:44:56 momjian Exp $ | ||||||
| Postgres documentation | Postgres documentation | ||||||
| --> | --> | ||||||
|  |  | ||||||
| @@ -132,6 +132,7 @@ Postgres documentation | |||||||
|     <programlisting> |     <programlisting> | ||||||
| $ <userinput>psql testdb</userinput> | $ <userinput>psql testdb</userinput> | ||||||
| Welcome to psql, the PostgreSQL interactive terminal. | Welcome to psql, the PostgreSQL interactive terminal. | ||||||
|  |  | ||||||
| Type \copyright for distribution terms | Type \copyright for distribution terms | ||||||
|      \h for help with SQL commands |      \h for help with SQL commands | ||||||
|      \? for help on internal slash commands |      \? for help on internal slash commands | ||||||
|   | |||||||
| @@ -177,12 +177,12 @@ main(int argc, char **argv) | |||||||
|  |  | ||||||
| 	if (!GetVariable(settings.vars, "quiet") && !settings.notty && !options.action) | 	if (!GetVariable(settings.vars, "quiet") && !settings.notty && !options.action) | ||||||
| 	{ | 	{ | ||||||
| 		puts("Welcome to psql, the PostgreSQL interactive terminal.\n" | 		puts("Welcome to psql, the PostgreSQL interactive terminal.\n\n"); | ||||||
| 			 "Type \\copyright for distribution terms"); |  | ||||||
|  |  | ||||||
| 		//showVersion(&settings, false); | 		//showVersion(&settings, false); | ||||||
|  |  | ||||||
| 		puts("     \\h for help with SQL commands\n" | 		puts("Type \\copyright for distribution terms\n" | ||||||
|  | 			 "     \\h for help with SQL commands\n" | ||||||
| 			 "     \\? for help on internal slash commands\n" | 			 "     \\? for help on internal slash commands\n" | ||||||
| 			 "     \\g or terminate with semicolon to execute query\n" | 			 "     \\g or terminate with semicolon to execute query\n" | ||||||
| 			 "     \\q to quit\n"); | 			 "     \\q to quit\n"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user