summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-12-10 17:43:01 +0000
committerGitHub <noreply@github.com>2017-12-10 17:43:01 +0000
commitafd7c6c28430f94e1a77a63d4768f671369bac28 (patch)
tree2b7740abf49f3431bc2b418294c1d9d303ec6c4d /lib/extras.py
parentec0a3d59a8c87bbf6f845ff911f541f753a8858d (diff)
parent19b1efd62962e4144a3579570828bd2cde02ac5c (diff)
downloadpsycopg2-afd7c6c28430f94e1a77a63d4768f671369bac28.tar.gz
Merge pull request #646 from jdufresne/drop-deprecated
Drop long deprecated function register_tstz_w_secs()
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/extras.py b/lib/extras.py
index a6c025e..68df344 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -719,18 +719,6 @@ def register_inet(oid=None, conn_or_curs=None):
return _ext.INET
-def register_tstz_w_secs(oids=None, conn_or_curs=None):
- """The function used to register an alternate type caster for
- :sql:`TIMESTAMP WITH TIME ZONE` to deal with historical time zones with
- seconds in the UTC offset.
-
- These are now correctly handled by the default type caster, so currently
- the function doesn't do anything.
- """
- import warnings
- warnings.warn("deprecated", DeprecationWarning)
-
-
def wait_select(conn):
"""Wait until a connection or cursor has data available.