mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	psql: Improve unaligned expanded output for zero rows
This used to erroneously print an empty line. Now it prints nothing.
This commit is contained in:
		
							parent
							
								
									8ade58a4ea
								
							
						
					
					
						commit
						0343a59d11
					
				| @ -439,10 +439,13 @@ print_unaligned_vertical(const printTableContent *cont, FILE *fout) | ||||
| 		} | ||||
| 
 | ||||
| 		/* see above in print_unaligned_text() */ | ||||
| 		if (cont->opt->recordSep.separator_zero) | ||||
| 			print_separator(cont->opt->recordSep, fout); | ||||
| 		else | ||||
| 			fputc('\n', fout); | ||||
| 		if (need_recordsep) | ||||
| 		{ | ||||
| 			if (cont->opt->recordSep.separator_zero) | ||||
| 				print_separator(cont->opt->recordSep, fout); | ||||
| 			else | ||||
| 				fputc('\n', fout); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user