File: 655e4fb2b854cc004bf93db7a73a825dd49e35b5.patch

package info (click to toggle)
postgresql-multicorn 1.3.4-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,428 kB
  • sloc: ansic: 3,252; python: 2,227; sql: 755; makefile: 282; sh: 35
file content (22 lines) | stat: -rw-r--r-- 857 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 655e4fb2b854cc004bf93db7a73a825dd49e35b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B3n=20S=C3=B6ring?= <soring@soring.is>
Date: Fri, 11 Nov 2016 12:05:58 +0000
Subject: [PATCH] Changed import to fix error while creating server in postgres

---
 python/multicorn/sqlalchemyfdw.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/python/multicorn/sqlalchemyfdw.py
+++ b/python/multicorn/sqlalchemyfdw.py
@@ -165,8 +165,8 @@ except ImportError:
 
 from sqlalchemy.schema import Table, Column, MetaData
 from sqlalchemy.dialects.oracle import base as oracle_dialect
-from sqlalchemy.dialects.postgresql.base import (
-    ARRAY, ischema_names, PGDialect, NUMERIC)
+from sqlalchemy.dialects.postgresql.base import ( ischema_names, PGDialect, NUMERIC)
+from sqlalchemy.dialects.postgresql.array import ARRAY
 import re
 import operator