Skip to content

Commit 59be98d

Browse files
committed
Add mapping entry for JSON names.
1 parent 9698978 commit 59be98d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

postgresql/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
contact = 'python-general@pgfoundry.org'
1111
abstract = 'Driver and tools library for PostgreSQL'
1212

13-
version_info = (1, 2, 0)
13+
version_info = (1, 2, 1)
1414
version = '.'.join(map(str, version_info))

postgresql/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@
158158
REGDICTIONARYOID : 'regdictionary',
159159

160160
XMLOID : 'xml',
161+
JSONOID : 'json',
162+
JSONBOID : 'jsonb',
161163

162164
MACADDROID : 'macaddr',
163165
INETOID : 'inet',

0 commit comments

Comments
 (0)