mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Accept that sometimes the Postgres source connection has a nil variant.
In that case we behave the same as when the variant is known to be :pgdg. The only other supported variant at this time being :redshift, that should be okay.
This commit is contained in:
parent
75c00b5ff4
commit
2af1a31be4
@ -42,6 +42,12 @@
|
||||
(defmethod adjust-data-types ((catalog catalog) (variant (eql :pgdg)))
|
||||
catalog)
|
||||
|
||||
;;;
|
||||
;;; Accept that sometimes the variant hasn't been specified at all.
|
||||
;;;
|
||||
(defmethod adjust-data-types ((catalog catalog) (variant (eql nil)))
|
||||
catalog)
|
||||
|
||||
;;;
|
||||
;;; The RedShift case is a little more involved, as shown in their
|
||||
;;; documentation:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user