mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Fix comments handling in IXF support.
There's no need to add empty string comments, guard against doing that.
This commit is contained in:
parent
e7afe993fa
commit
fe2e1ee956
@ -89,7 +89,10 @@
|
||||
(format-default-value
|
||||
(ixf:ixf-column-default col)))
|
||||
:transform (transform-function col)
|
||||
:comment (ixf:ixf-column-desc col)))
|
||||
:comment (let ((comment (ixf:ixf-column-desc col)))
|
||||
(unless (or (null comment)
|
||||
(string= comment ""))
|
||||
comment))))
|
||||
|
||||
(defun list-all-columns (ixf-stream table)
|
||||
"Return the list of columns for the given IXF-FILE-NAME."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user