mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Clear paren level flag on \r or any backslash command, rather than
keeping parenlevel unchanged.
This commit is contained in:
		@@ -313,6 +313,7 @@ MainLoop(PsqlSettings *pset, FILE *source)
 | 
				
			|||||||
			{
 | 
								{
 | 
				
			||||||
				const char *end_of_cmd = NULL;
 | 
									const char *end_of_cmd = NULL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									paren_level = 0;
 | 
				
			||||||
				line[i - prevlen] = '\0';		/* overwrites backslash */
 | 
									line[i - prevlen] = '\0';		/* overwrites backslash */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				/* is there anything else on the line? */
 | 
									/* is there anything else on the line? */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user