mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 07:47:00 +02:00
Find field attributes case-insensitively, fix #80.
That's a follow-up to the case management cleanup for fields and columns, wherein the "null if" property would stop being applied properly.
This commit is contained in:
parent
88eba90776
commit
252abdeaa7
@ -234,7 +234,8 @@
|
|||||||
(destructuring-bind (&key null-as date-format &allow-other-keys)
|
(destructuring-bind (&key null-as date-format &allow-other-keys)
|
||||||
(typecase field-name-or-list
|
(typecase field-name-or-list
|
||||||
(list (cdr field-name-or-list))
|
(list (cdr field-name-or-list))
|
||||||
(t (cdr (assoc field-name-or-list fields :test #'string=))))
|
(t (cdr (assoc field-name-or-list fields
|
||||||
|
:test #'string-equal))))
|
||||||
(declare (ignore date-format)) ; TODO
|
(declare (ignore date-format)) ; TODO
|
||||||
(if (null null-as)
|
(if (null null-as)
|
||||||
#'identity
|
#'identity
|
||||||
|
Loading…
Reference in New Issue
Block a user