mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Fix comment support to schema qualify target tables.
This commit is contained in:
parent
a849f893a6
commit
1f242cd29e
@ -414,7 +414,7 @@ $$; " tables)))
|
||||
(loop :for table :in (table-list catalog)
|
||||
:when (table-comment table)
|
||||
:collect (format nil "comment on table ~a is $~a$~a$~a$"
|
||||
(table-name table)
|
||||
(format-table-name table)
|
||||
quote (table-comment table) quote)
|
||||
|
||||
;; for each table, append column level comments
|
||||
@ -423,7 +423,7 @@ $$; " tables)))
|
||||
:when (column-comment column)
|
||||
:collect (format nil
|
||||
"comment on column ~a.~a is $~a$~a$~a$"
|
||||
(table-name table)
|
||||
(format-table-name table)
|
||||
(column-name column)
|
||||
quote (column-comment column) quote)))))
|
||||
(pgsql-execute-with-timing section label sql-list)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user