mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix psql \?'s entries for \dp and \z.
d913928c9c added support for the "S" modifier to psql's \dp and \z
meta-commands, but it missed updating the corresponding entries in
\?'s output.
Author: Noriyoshi Shinoda
Discussion: https://postgr.es/m/DM4PR84MB17342A51B3A1556CFBC7A4B2EE25A%40DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
			
			
This commit is contained in:
		@@ -277,7 +277,7 @@ slashUsage(unsigned short int pager)
 | 
				
			|||||||
	HELP0("  \\do[S+] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
 | 
						HELP0("  \\do[S+] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
 | 
				
			||||||
		  "                         list operators\n");
 | 
							  "                         list operators\n");
 | 
				
			||||||
	HELP0("  \\dO[S+] [PATTERN]      list collations\n");
 | 
						HELP0("  \\dO[S+] [PATTERN]      list collations\n");
 | 
				
			||||||
	HELP0("  \\dp     [PATTERN]      list table, view, and sequence access privileges\n");
 | 
						HELP0("  \\dp[S]  [PATTERN]      list table, view, and sequence access privileges\n");
 | 
				
			||||||
	HELP0("  \\dP[itn+] [PATTERN]    list [only index/table] partitioned relations [n=nested]\n");
 | 
						HELP0("  \\dP[itn+] [PATTERN]    list [only index/table] partitioned relations [n=nested]\n");
 | 
				
			||||||
	HELP0("  \\drds [ROLEPTRN [DBPTRN]] list per-database role settings\n");
 | 
						HELP0("  \\drds [ROLEPTRN [DBPTRN]] list per-database role settings\n");
 | 
				
			||||||
	HELP0("  \\dRp[+] [PATTERN]      list replication publications\n");
 | 
						HELP0("  \\dRp[+] [PATTERN]      list replication publications\n");
 | 
				
			||||||
@@ -293,7 +293,7 @@ slashUsage(unsigned short int pager)
 | 
				
			|||||||
	HELP0("  \\l[+]   [PATTERN]      list databases\n");
 | 
						HELP0("  \\l[+]   [PATTERN]      list databases\n");
 | 
				
			||||||
	HELP0("  \\sf[+]  FUNCNAME       show a function's definition\n");
 | 
						HELP0("  \\sf[+]  FUNCNAME       show a function's definition\n");
 | 
				
			||||||
	HELP0("  \\sv[+]  VIEWNAME       show a view's definition\n");
 | 
						HELP0("  \\sv[+]  VIEWNAME       show a view's definition\n");
 | 
				
			||||||
	HELP0("  \\z      [PATTERN]      same as \\dp\n");
 | 
						HELP0("  \\z[S]   [PATTERN]      same as \\dp\n");
 | 
				
			||||||
	HELP0("\n");
 | 
						HELP0("\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	HELP0("Large Objects\n");
 | 
						HELP0("Large Objects\n");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user