mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 09:47:30 +03:00 
			
		
		
		
	Fixed a couple of terms in the docs
After Pierre-Louis Bonicoli's suggestions in ticket #138.
This commit is contained in:
		
							parent
							
								
									10476200fd
								
							
						
					
					
						commit
						896ad7c827
					
				| 
						 | 
				
			
			@ -51,7 +51,7 @@ The main entry points of Psycopg are:
 | 
			
		|||
  - create new `cursor`\s using the `~connection.cursor()` method to
 | 
			
		||||
    execute database commands and queries,
 | 
			
		||||
 | 
			
		||||
  - terminate the session using the methods `~connection.commit()` or
 | 
			
		||||
  - terminate transactions using the methods `~connection.commit()` or
 | 
			
		||||
    `~connection.rollback()`.
 | 
			
		||||
 | 
			
		||||
- The class `cursor` allows interaction with the database:
 | 
			
		||||
| 
						 | 
				
			
			@ -529,7 +529,7 @@ It is possible to set the connection in *autocommit* mode: this way all the
 | 
			
		|||
commands executed will be immediately committed and no rollback is possible. A
 | 
			
		||||
few commands (e.g. :sql:`CREATE DATABASE`, :sql:`VACUUM`...) require to be run
 | 
			
		||||
outside any transaction: in order to be able to run these commands from
 | 
			
		||||
Psycopg, the session must be in autocommit mode: you can use the
 | 
			
		||||
Psycopg, the connection must be in autocommit mode: you can use the
 | 
			
		||||
`~connection.autocommit` property (`~connection.set_isolation_level()` in
 | 
			
		||||
older versions).
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user