0002-enable-pyscopg2-unicode-type-caster-30752.patch
wcs_olap/feeder.py | ||
---|---|---|
260 | 260 |
self.connection = psycopg2.connect(dsn=pg_dsn) |
261 | 261 |
self.connection.autocommit = True |
262 | 262 |
self.cur = self.connection.cursor() |
263 |
psycopg2.extensions.register_type(psycopg2.extensions.UNICODE, self.cur) |
|
264 | ||
263 | 265 |
try: |
264 | 266 |
self.has_jsonb = self.detect_jsonb() |
265 | 267 |
if self.has_jsonb: |
266 |
- |