mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
		| @@ -38,7 +38,7 @@ static int	history_lines_added; | ||||
|  *	Preserve newlines in saved queries by mapping '\n' to NL_IN_HISTORY | ||||
|  * | ||||
|  *	It is assumed NL_IN_HISTORY will never be entered by the user | ||||
|  *	nor appear inside a multi-byte string.	0x00 is not properly | ||||
|  *	nor appear inside a multi-byte string.  0x00 is not properly | ||||
|  *	handled by the readline routines so it can not be used | ||||
|  *	for this purpose. | ||||
|  */ | ||||
| @@ -157,7 +157,7 @@ pg_send_history(PQExpBuffer history_buf) | ||||
|  * | ||||
|  * Caller *must* have set up sigint_interrupt_jmp before calling. | ||||
|  * | ||||
|  * Note: we re-use a static PQExpBuffer for each call.	This is to avoid | ||||
|  * Note: we re-use a static PQExpBuffer for each call.  This is to avoid | ||||
|  * leaking memory if interrupted by SIGINT. | ||||
|  */ | ||||
| char * | ||||
| @@ -393,7 +393,7 @@ saveHistory(char *fname, int max_lines, bool appendFlag, bool encodeFlag) | ||||
| 			/* truncate what we have ... */ | ||||
| 			if (max_lines >= 0) | ||||
| 				stifle_history(max_lines); | ||||
| 			/* ... and overwrite file.	Tough luck for concurrent sessions. */ | ||||
| 			/* ... and overwrite file.  Tough luck for concurrent sessions. */ | ||||
| 			errno = 0; | ||||
| 			(void) write_history(fname); | ||||
| 			if (errno == 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user