mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 07:47:00 +02:00
Small code cleanup.
This commit is contained in:
parent
167407f644
commit
7d94d4ff62
@ -127,8 +127,7 @@
|
||||
;; this function update :rows stats
|
||||
#'pgloader.pgsql:copy-from-queue dbname table-name dataq
|
||||
;; we only are interested into the column names here
|
||||
:columns (let ((cols (columns csv)))
|
||||
(when cols (mapcar #'car cols)))
|
||||
:columns (mapcar #'car (columns csv))
|
||||
:truncate truncate
|
||||
:transforms (transforms csv))
|
||||
|
||||
|
@ -104,8 +104,7 @@
|
||||
;; this function update :rows stats
|
||||
#'pgloader.pgsql:copy-from-queue dbname table-name dataq
|
||||
;; we only are interested into the column names here
|
||||
:columns (let ((cols (columns fixed)))
|
||||
(when cols (mapcar #'car cols)))
|
||||
:columns (mapcar #'car (columns fixed))
|
||||
:truncate truncate
|
||||
:transforms (transforms fixed))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user