mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 01:37:31 +03:00 
			
		
		
		
	Merge branch 'timetz'
This commit is contained in:
		
						commit
						2332f2c99e
					
				
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								NEWS
									
									
									
									
									
								
							| 
						 | 
					@ -7,6 +7,8 @@ What's new in psycopg 2.6
 | 
				
			||||||
New features:
 | 
					New features:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Added support for large objects larger than 2GB.
 | 
					- Added support for large objects larger than 2GB.
 | 
				
			||||||
 | 
					- Python `time` objects with a tzinfo specified and PostgreSQL :sql:`timetz`
 | 
				
			||||||
 | 
					  data are converted into each other (ticket #272).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bug fixes:
 | 
					Bug fixes:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -245,7 +245,8 @@ types:
 | 
				
			||||||
    +--------------------+-------------------------+--------------------------+
 | 
					    +--------------------+-------------------------+--------------------------+
 | 
				
			||||||
    | `!date`            | :sql:`date`             | :ref:`adapt-date`        |
 | 
					    | `!date`            | :sql:`date`             | :ref:`adapt-date`        |
 | 
				
			||||||
    +--------------------+-------------------------+                          |
 | 
					    +--------------------+-------------------------+                          |
 | 
				
			||||||
    | `!time`            | :sql:`time`             |                          |
 | 
					    | `!time`            | | :sql:`time`           |                          |
 | 
				
			||||||
 | 
					    |                    | | :sql:`timetz`         |                          |
 | 
				
			||||||
    +--------------------+-------------------------+                          |
 | 
					    +--------------------+-------------------------+                          |
 | 
				
			||||||
    | `!datetime`        | | :sql:`timestamp`      |                          |
 | 
					    | `!datetime`        | | :sql:`timestamp`      |                          |
 | 
				
			||||||
    |                    | | :sql:`timestamptz`    |                          |
 | 
					    |                    | | :sql:`timestamptz`    |                          |
 | 
				
			||||||
| 
						 | 
					@ -482,7 +483,7 @@ Date/Time objects adaptation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Python builtin `~datetime.datetime`, `~datetime.date`,
 | 
					Python builtin `~datetime.datetime`, `~datetime.date`,
 | 
				
			||||||
`~datetime.time`,  `~datetime.timedelta` are converted into PostgreSQL's
 | 
					`~datetime.time`,  `~datetime.timedelta` are converted into PostgreSQL's
 | 
				
			||||||
:sql:`timestamp[tz]`, :sql:`date`, :sql:`time`, :sql:`interval` data types.
 | 
					:sql:`timestamp[tz]`, :sql:`date`, :sql:`time[tz]`, :sql:`interval` data types.
 | 
				
			||||||
Time zones are supported too.  The Egenix `mx.DateTime`_ objects are adapted
 | 
					Time zones are supported too.  The Egenix `mx.DateTime`_ objects are adapted
 | 
				
			||||||
the same way::
 | 
					the same way::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user