mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-10-31 15:57:31 +03:00 
			
		
		
		
	Fixed error message on range parsing failed
This commit is contained in:
		
							parent
							
								
									6192a4fb17
								
							
						
					
					
						commit
						dd9e476353
					
				|  | @ -356,7 +356,7 @@ where typname = %s and ns.nspname = %s; | ||||||
| 
 | 
 | ||||||
|         m = self._re_range.match(s) |         m = self._re_range.match(s) | ||||||
|         if m is None: |         if m is None: | ||||||
|             raise InterfaceError("failed to parse range: %s") |             raise InterfaceError("failed to parse range: '%s'" % s) | ||||||
| 
 | 
 | ||||||
|         lower = m.group(3) |         lower = m.group(3) | ||||||
|         if lower is None: |         if lower is None: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user