Skip to content

Commit c75775e

Browse files
author
James William Pye
committed
Use the driver's attributed typio in case of an override.
1 parent b6d271a commit c75775e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

postgresql/documentation/changes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Changes
66

77
* First .first()'s handling of counts and commands.
88
Bad logic caused zero-counts to return the command tag.
9+
* Don't interrupt and close a temporal connection if it's not open.
10+
* Use the Driver's typio attribute for TypeIO overrides. (Elvis Pranskevichus)
911

1012
1.0 release on 2010-03-27
1113
-------------------------

postgresql/driver/pq3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ def __init__(self, connector, *args, **kw):
26452645
self.connector = connector
26462646
# raw notify messages
26472647
self._notifies = []
2648-
self.typio = TypeIO(self)
2648+
self.typio = self.connector.driver.typio(self)
26492649
self.typio.set_encoding('ascii')
26502650
self.settings = Settings(self)
26512651
# class Connection

0 commit comments

Comments
 (0)